Skip to content

0.2.0

0.2.0 #20

Workflow file for this run

name: Run checks
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Check formatting
run: npm run fmt:check
test-action:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup scarb
uses: software-mansion/setup-scarb@v1
with:
scarb-version: 0.7.0
- name: Test local action
uses: ./
with:
starknet-foundry-version: 0.9.1
- name: Create new project
run: snforge --init myproject
- name: Run tests in the project
run: snforge
working-directory: myproject