Skip to content

Commit

Permalink
Add to GITHUB_PATH instead, use setup-scarb actio
Browse files Browse the repository at this point in the history
  • Loading branch information
DelevoXDG committed Sep 15, 2023
1 parent 8158339 commit ba58d38
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ jobs:
echo "Found existing starknet-devnet-rs build, skipping compilation."
fi
- name: Install scarb 0.6.0
run: |
curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh -s -- -v 0.6.0
echo "SCARB_PATH=$(which scarb)" >> "$GITHUB_ENV"
- name: Setup scarb 0.6.0
uses: software-mansion/[email protected]
with:
scarb-version: "0.6.0"

- name: Install sncast 0.4.1
run: |
curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh -s -- -v 0.4.1
echo "SNCAST_PATH=$(which sncast)" >> "$GITHUB_ENV"
echo "$(dirname $(which sncast))" >> $GITHUB_PATH
- name: Run tests
run: |
Expand Down

0 comments on commit ba58d38

Please sign in to comment.