Skip to content

Commit

Permalink
chore(ci): add rust caching
Browse files Browse the repository at this point in the history
Signed-off-by: JP-Ellis <[email protected]>
  • Loading branch information
JP-Ellis committed Dec 11, 2024
1 parent b93fa96 commit 1519b88
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-ffi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
with:
toolchain: stable
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Install shared mime info DB
if: runner.os == 'macOS'
run: brew install shared-mime-info
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ jobs:
- uses: taiki-e/install-action@v2
with:
tool: cargo-nextest
- uses: Swatinem/rust-cache@v2
with:
shared-key: musl
- name: Tests
run: cargo nextest run
working-directory: rust
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/compatability-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- uses: taiki-e/install-action@v2
with:
tool: cargo-nextest
- uses: Swatinem/rust-cache@v2
- name: Run Cucumber
run: cargo nextest run
working-directory: compatibility-suite

0 comments on commit 1519b88

Please sign in to comment.