Add Cargo caching for faster builds

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

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: