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