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
|
- name: Setup Workspace
|
||||||
run: |
|
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
|
rm -rf workspace/botserver
|
||||||
mv botserver workspace/botserver
|
mv botserver workspace/botserver
|
||||||
|
|
||||||
|
|
@ -37,9 +37,9 @@ jobs:
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
workspace/target
|
workspace/target
|
||||||
key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-v2-debug-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-cargo-debug-
|
${{ runner.os }}-cargo-v2-debug-
|
||||||
|
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue