fix(ci): invalidate cache and enforce shallow submodules

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-01-25 14:10:17 -03:00
parent e4a55d533a
commit 68ae908506

View file

@ -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: |