Skip to content

Commit

Permalink
ci: use rust cache to cache deps
Browse files Browse the repository at this point in the history
  • Loading branch information
joshka committed Jan 13, 2024
1 parent 2c02a56 commit b343e22
Show file tree
Hide file tree
Showing 2 changed files with 587 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
toolchain: [ "stable" ]
os: [ubuntu-latest, windows-latest, macos-latest]
toolchain: ["stable"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand All @@ -36,6 +36,8 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- name: Cache Cargo dependencies
uses: Swatinem/rust-cache@v2
- name: Test ${{ matrix.os }}
run: cargo test
env:
Expand Down
Loading

0 comments on commit b343e22

Please sign in to comment.