Skip to content

Commit

Permalink
Fix GitHub CI regarding Forge version
Browse files Browse the repository at this point in the history
  • Loading branch information
matjazv committed Jun 6, 2024
1 parent 68e14b3 commit deca34c
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,28 @@ jobs:
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
#- name: Install Foundry
# uses: foundry-rs/foundry-toolchain@v1
# with:
# version: nightly
#- name: Install Rust
# uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# override: true

- uses: actions/checkout@master
with:
version: nightly
repository: foundry-rs/foundry
path: ./foundry
submodules: recursive

- name: Install Forge
run: |
cargo install --path ./crates/forge --profile local --force --locked |
cargo install --path ./crates/cast --profile local --force --locked |
cargo install --path ./crates/anvil --profile local --force --locked |
cargo install --path ./crates/chisel --profile local --force --locked
- name: Check formatting
if: ${{ contains(matrix.system.os, 'windows') == false }}
Expand Down

0 comments on commit deca34c

Please sign in to comment.