Skip to content

ci: scarb tests (#1) #6

ci: scarb tests (#1)

ci: scarb tests (#1) #6

Workflow file for this run

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