Skip to content

Commit

Permalink
Merge pull request #2 from jplatte/ci-cache
Browse files Browse the repository at this point in the history
ci: Use more sophisticated cache action
  • Loading branch information
ikeycode authored Aug 14, 2024
2 parents a2a867d + 17a2583 commit 7b2dad9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,7 @@ jobs:
run: cargo fmt --all -- --check

- name: Cargo Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
uses: Swatinem/rust-cache@v2

- name: Build project
run: cargo build
Expand Down

0 comments on commit 7b2dad9

Please sign in to comment.