Skip to content

Commit

Permalink
👷 cache cargo files
Browse files Browse the repository at this point in the history
  • Loading branch information
chriamue committed Dec 19, 2023
1 parent 8116c19 commit fb6b3e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.cargo
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down

0 comments on commit fb6b3e6

Please sign in to comment.