Skip to content

Commit

Permalink
ci: cargo add actions/cache
Browse files Browse the repository at this point in the history
  • Loading branch information
baerwang committed Jan 6, 2024
1 parent 17f118b commit 6135032
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ matrix.arch }}-build-cargo-${{ hashFiles('**/Cargo.lock') }}

- run: cargo build --verbose

- run: cargo test --verbose

0 comments on commit 6135032

Please sign in to comment.