Skip to content

Commit

Permalink
Change version to match compiler's
Browse files Browse the repository at this point in the history
  • Loading branch information
wawel37 committed Dec 17, 2024
1 parent b37b87f commit 09a86f0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rustfmt

- name: Run cargo fmt
run: rustup toolchain install nightly && rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt && cargo +nightly fmt -- --check
run: cargo +nightly fmt --check

- uses: dtolnay/rust-toolchain@stable
- name: Run cargo clippy
run: cargo clippy -- -D warnings
test:
Expand Down
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ annotate-snippets = "0.11.5"
num-bigint = "0.4.6"
if_chain = "1.0.2"

# Here we specify real dependency specifications for Cairo crates *if* currently we want to use
# a particular unreleased commit (which is frequent mid-development).
# We list all Cairo crates that go into Scarb's compilation unit even if Scarb itself does not depend
# on some of them directly.
# This ensures no duplicate instances of Cairo crates are pulled in by mistake.
[patch.crates-io]
cairo-lang-compiler = { git = "https://github.com/starkware-libs/cairo", rev = "ca2dceb" }
cairo-lang-utils = { git = "https://github.com/starkware-libs/cairo", rev = "ca2dceb" }
Expand Down

0 comments on commit 09a86f0

Please sign in to comment.