Skip to content

Merge pull request #12 from keep-starknet-strange/lucas/something #22

Merge pull request #12 from keep-starknet-strange/lucas/something

Merge pull request #12 from keep-starknet-strange/lucas/something #22

Workflow file for this run

name: Build
on: [push, 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
working-directory: onchain
- name: Build cairo programs
run: scarb build
working-directory: onchain
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
- name: Run cairo tests
run: scarb test
working-directory: onchain