Skip to content

Commit

Permalink
Cache CARGO_TARGET_DIR if set
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-opp committed Oct 25, 2023
1 parent fcbe1d1 commit 25ce08d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
cache-on-failure: true
# only save caches for `main` branch
save-if: ${{ github.ref == 'refs/heads/main' }}
cache-directories: ${{ env.CARGO_TARGET_DIR }}

- name: "Check"
run: cargo check --all
Expand Down

0 comments on commit 25ce08d

Please sign in to comment.