Skip to content

Commit

Permalink
Update CI to use foundry-rs/setup-snfoundry
Browse files Browse the repository at this point in the history
  • Loading branch information
tensojka committed Mar 18, 2024
1 parent c03f708 commit dd04bb2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ jobs:
run: curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | bash -s -- -v $SCARB_VERSION
- name: Check formatting
run: scarb fmt --check
- name: Install SnFoundryUp
run: curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh
- name: Install SnFoundry
run: snfoundryup -v $FOUNDRY_VERSION
- uses: foundry-rs/setup-snfoundry@v3
with:
starknet-foundry-version: ${{ env.FOUNDRY_VERSION }}
- name: Run tests with snforge
run: snforge test

0 comments on commit dd04bb2

Please sign in to comment.