Skip to content

Update release.yml

Update release.yml #70

Workflow file for this run

name: tests
on:
push:
pull_request:
jobs:
check:
runs-on: ubuntu-latest
env:
working-directory: ./contracts
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
- uses: foundry-rs/setup-snfoundry@v3
- working-directory: ${{ env.working-directory}}
run: scarb fmt --check
- working-directory: ${{ env.working-directory}}
run: scarb build
- working-directory: ${{ env.working-directory}}
run: snforge test