tests: print added options #11
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: CI | |
on: | |
push: | |
paths: | |
- '**.cairo' | |
- '.github/' | |
- 'Scarb.lock' | |
- 'Scarb.toml' | |
env: | |
SCARB_VERSION: 2.6.4 | |
FOUNDRY_VERSION: 0.23.0 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout (GitHub) | |
uses: actions/checkout@v3 | |
- name: Install Scarb | |
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 | |
- uses: foundry-rs/setup-snfoundry@v3 | |
with: | |
starknet-foundry-version: ${{ env.FOUNDRY_VERSION }} | |
- name: Run tests with snforge | |
run: snforge test |