doc: Loot bag example #8
This file contains 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: Cairo test | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths-ignore: | |
- "**.md" | |
jobs: | |
tests: | |
strategy: | |
# ensure both latest and nightly are tested | |
# regardless if one of them fails | |
fail-fast: false | |
matrix: | |
# scarb: ["latest", "nightly"] | |
# temporarily disabling latest because | |
# of fmt differences between latest and nightly | |
scarb: ["nightly"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: ${{ matrix.scarb }} | |
- run: scarb fmt --check | |
- run: scarb build | |
- run: scarb test |