fix(ci): invalidate cache and enforce shallow submodules
This commit is contained in:
parent
e4a55d533a
commit
68ae908506
1 changed files with 3 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
|
||||
- name: Setup Workspace
|
||||
run: |
|
||||
git clone --depth 1 --recursive https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace
|
||||
git clone --depth 1 --recursive --shallow-submodules https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace
|
||||
rm -rf workspace/botserver
|
||||
mv botserver workspace/botserver
|
||||
|
||||
|
|
@ -37,9 +37,9 @@ jobs:
|
|||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
workspace/target
|
||||
key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: ${{ runner.os }}-cargo-v2-debug-${{ hashFiles('**/Cargo.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-cargo-debug-
|
||||
${{ runner.os }}-cargo-v2-debug-
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue