Skip to content

Project Setup

Project Setup #3

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
permissions: read-all
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
- name: Check cairo format
run: scarb fmt --check
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
- uses: foundry-rs/setup-snfoundry@v3
- name: Test cairo contract
run: scarb test