Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,11 @@ jobs:
rustup default stable
rustc --version

- uses: actions/cache@v4
# Keyed on the installed rustc and the Cargo files. Only main saves; pull requests restore
# main's cache and do not write their own.
- uses: Swatinem/rust-cache@v2
with:
path: |
~/.cargo/registry/index
~/.cargo/registry/cache
~/.cargo/git/db
target
key: cargo-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('**/Cargo.toml') }}
restore-keys: cargo-${{ runner.os }}-
save-if: ${{ github.ref == 'refs/heads/main' }}

- name: Build and test
shell: pwsh
Expand Down
Loading