Skip to content

Update testContract and new format #71

Update testContract and new format

Update testContract and new format #71

Workflow file for this run

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