Skip to content

Fix getting semantic diags for a crate #28

Fix getting semantic diags for a crate

Fix getting semantic diags for a crate #28

Workflow file for this run

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