Skip to content

Commit

Permalink
Add cache key on Rust version to differentiate both jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
cecton committed Nov 5, 2023
1 parent 388d018 commit f2995ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
key: rust-${{ matrix.rust }}
- run: rustup default ${{ matrix.rust }}
- run: cargo test --verbose

0 comments on commit f2995ed

Please sign in to comment.