Skip to content

Commit

Permalink
ci: foundry caching
Browse files Browse the repository at this point in the history
  • Loading branch information
dndll committed Feb 16, 2024
1 parent 6027ef7 commit d9443d6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,12 @@ jobs:
with:
cache-workspaces: |-
.
- name: "Install forge"
run: cargo install --git https://github.com/foundry-rs/foundry --bins --locked anvil cast chisel forge
- name: "Install Foundry"
uses: taiki-e/cache-cargo-install-action@v1
with:
git: https://github.com/foundry-rs/foundry
tool: anvil,cast,chisel,forge
rev: 6ee3e88d2a48c7df48c85986e67f73cd2e6403d8
- name: "Forge install"
run: cd nearx/contract && forge install
- name: "Run tests"
Expand Down

0 comments on commit d9443d6

Please sign in to comment.