Skip to content

Commit

Permalink
Cache artifacts for more CI jobs
Browse files Browse the repository at this point in the history
With this change we use the Swatinem/rust-cache GitHub Action in more of
our CI jobs to speed up the workflow even more.

Signed-off-by: Daniel Müller <[email protected]>
  • Loading branch information
d-e-s-o committed Dec 18, 2023
1 parent 8d2332d commit facacf9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- name: Install required tools
run: sudo apt-get install -y llvm-14
- name: Install cargo-llvm-cov
Expand All @@ -108,6 +109,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.sanitizer }}
- name: Enable debug symbols
run: |
# to get the symbolizer for debug symbol resolution
Expand Down Expand Up @@ -135,6 +139,7 @@ jobs:
- name: Install required tools
run: sudo apt-get install -y llvm-14
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo test --workspace --release
test-miri:
name: Test with Miri
Expand Down

0 comments on commit facacf9

Please sign in to comment.