Add Cargo caching for faster builds
Some checks failed
GBCI Bundle / build-bundle (push) Failing after 26s
GBCI / build (push) Failing after 23s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-12-16 16:35:22 -03:00
parent d380368fee
commit a1fef6fc37

View file

@ -16,6 +16,17 @@ jobs:
- uses: actions/checkout@v4
- name: Cache Cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-botserver-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-botserver-
- name: Install Rust
uses: msrd0/rust-toolchain@v1
with: