inside adapt_to_stwo_input use fill_builtin_segment on all the builtins #2881
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 | |
- edited | |
- 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-12-14" | |
- 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 | |
- run: ./scripts/fetch_large_files.sh ./scripts/slow_tests.json | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
components: rustfmt | |
profile: minimal | |
toolchain: nightly-2025-01-02 | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo +nightly-2025-01-02 test --release --features slow-tests | |
format: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./stwo_cairo_prover | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
components: rustfmt | |
toolchain: nightly-2025-01-02 | |
- uses: Swatinem/rust-cache@v2 | |
- run: scripts/rust_fmt.sh --check | |
clippy: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./stwo_cairo_prover | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
components: clippy | |
toolchain: nightly-2025-01-02 | |
- uses: Swatinem/rust-cache@v2 | |
- run: scripts/clippy.sh | |
merge-gatekeeper: | |
runs-on: ubuntu-latest | |
# Restrict permissions of the GITHUB_TOKEN. | |
# Docs: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs | |
permissions: | |
checks: read | |
statuses: read | |
steps: | |
- name: Run Merge Gatekeeper on pull request | |
if: github.event_name == 'pull_request' | |
uses: upsidr/merge-gatekeeper@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
timeout: 1500 | |
interval: 30 | |
ignored: "code-review/reviewable" | |
- name: Run Merge Gatekeeper on Merge Queue || push | |
if: github.event_name == 'merge_group' || github.event_name == 'push' | |
uses: upsidr/merge-gatekeeper@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
ref: ${{github.ref}} | |
timeout: 1500 | |
interval: 30 | |
ignored: "code-review/reviewable" |