Skip to content

Commit

Permalink
Merge pull request #23 from szepeviktor/szepeviktor-patch-3
Browse files Browse the repository at this point in the history
Cache cargo packages in CI
  • Loading branch information
dantleech committed Sep 2, 2023
2 parents 7bb5770 + 167911d commit d1a5ca5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,14 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Lint and test
run: make

0 comments on commit d1a5ca5

Please sign in to comment.