Skip to content

Commit

Permalink
Cache registry cache in cargo-afl CI job (#2159)
Browse files Browse the repository at this point in the history
  • Loading branch information
fintelia authored Feb 25, 2024
1 parent a207477 commit 1f2238f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,16 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
- name: install-deps
run: sudo apt-get -y install clang llvm
- name: Cache Cargo Registry
uses: Swatinem/rust-cache@v2
with:
cache-targets: false
cache-all-crates: true
cache-on-failure: true
- name: Install cargo-afl
run: cargo install --locked cargo-afl
- name: build
run: |
cargo install cargo-afl
cd fuzz-afl
cargo check --bin reproduce_webp
cargo check --bin reproduce_pnm
Expand Down

0 comments on commit 1f2238f

Please sign in to comment.