Skip to content

Update snforge

Update snforge #327

Workflow file for this run

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