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 79d23c7 commit fc3daf7
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 @@ -60,6 +60,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 fc3daf7

Please sign in to comment.