Skip to content

Commit

Permalink
chore(ci): add cache to workflows (#147)
Browse files Browse the repository at this point in the history
Add cache to workflows.
  • Loading branch information
pepoviola authored Jan 6, 2024
1 parent 9ba4b13 commit 1c9f14a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,18 @@ jobs:
- name: Init install
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} && rustup component add clippy

- name: Fetch cache
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
with:
shared-key: "zombie-cache"

- name: Clippy
run: cargo clippy --all-targets --all-features

- name: Build
run: cargo build

- name: Tests
- name: Tests
run: cargo test --workspace

coverage:
Expand All @@ -53,6 +58,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Fetch cache
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
with:
shared-key: "zombie-cache"

- name: Install latest nextest release
uses: taiki-e/install-action@nextest

Expand Down

0 comments on commit 1c9f14a

Please sign in to comment.