Update cairo #23
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
merge_group: | |
permissions: | |
contents: read | |
jobs: | |
checks: | |
name: Checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: nightly | |
components: rustfmt | |
- name: Run cargo fmt | |
run: cargo +nightly fmt --check | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Run cargo clippy | |
run: cargo clippy -- -D warnings | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Get corelib | |
run: git clone https://github.com/starkware-libs/cairo | |
- name: Run cargo test | |
run: CORELIB_PATH="$(pwd)/cairo/corelib/src" cargo test |