Get range check inputs one by one. #175
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 workflow | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- auto_merge_enabled | |
merge_group: | |
types: | |
- checks_requested | |
jobs: | |
scarb-test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./stwo_cairo_verifier | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: "nightly-2024-06-01" | |
- run: scarb fmt --check | |
- run: scarb test | |
run-tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./stwo_cairo_prover | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
components: rustfmt | |
profile: minimal | |
toolchain: nightly-2024-01-04 | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo +nightly-2024-01-04 test --release | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
components: rustfmt | |
toolchain: nightly-2024-01-04 | |
- uses: Swatinem/rust-cache@v2 | |
- run: scripts/rust_fmt.sh --check | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
components: clippy | |
toolchain: nightly-2024-01-04 | |
- uses: Swatinem/rust-cache@v2 | |
- run: scripts/clippy.sh |