chore: merge PR #44 from BlockheaderWeb3-Community/add-ci #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build contracts and check formatting | |
| on: | |
| push: | |
| merge_group: | |
| pull_request: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: software-mansion/setup-scarb@v1 | |
| with: | |
| scarb-version: "2.12.2" | |
| - run: scarb build | |
| - run: scarb fmt --check | |
| - run: scarb lint |