Skip to content

Commit

Permalink
test: cache fork data (foundry-rs#1112)
Browse files Browse the repository at this point in the history
* test: cache fork data

* test: add cache key
  • Loading branch information
onbjerg authored Mar 28, 2022
1 parent c552cf9 commit 620afc4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,15 @@ jobs:
toolchain: stable
profile: minimal
override: true
- uses: Swatinem/rust-cache@v1
- name: Rust cache
uses: Swatinem/rust-cache@v1
with:
cache-on-failure: true
- name: Forge RPC cache
uses: actions/cache@v3
with:
path: ~/.foundry/cache
key: forge-rpc-cache

- name: cargo test
run: cargo test --locked --workspace --all-features --test '*'
Expand Down

0 comments on commit 620afc4

Please sign in to comment.