Update testContract and new format #71
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Next.js CI | |
on: | |
push: | |
paths: | |
- "packages/snfoundry/contracts/**" | |
pull_request: | |
paths: | |
- "packages/snfoundry/contracts/**" | |
jobs: | |
snfoundry: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Install scarb | |
run: curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh -s -- -v 2.6.5 | |
- name: Install snfoundryup | |
run: curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh | |
- name: Install snforge | |
run: snfoundryup -v 0.27.0 | |
- name: Run snforge tests | |
run: snforge test | |
working-directory: ./packages/snfoundry/contracts |