Skip to content

Commit

Permalink
Release v2.2.0 (#55)
Browse files Browse the repository at this point in the history
* Release v2.2.0

* Downgrade rust version

* Add a hack to rust version

* Add another hack
  • Loading branch information
tomek0123456789 committed Aug 2, 2024
1 parent 4e2a86b commit 2a46d57
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 50 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@1.79.0
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
# Hack for Rust 1.80 - type inference went crazy and didn't allow to build a library
- run: rustup default 1.79.0
- run: cargo test --release

rustfmt:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@1.79.0
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
# Hack for Rust 1.79 - rustfmt is just not there?
- run: rustup component add rustfmt
- run: cargo fmt --check

clippy:
Expand All @@ -35,8 +39,10 @@ jobs:
RUSTFLAGS: "-Dwarnings"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@1.79.0
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
# Hack for Rust 1.79 - clippy is just not there?
- run: rustup component add clippy
- run: cargo lint

typos:
Expand Down
84 changes: 42 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ description = "Universal-Sierra-Compiler is the tool for Sierra compilation. It
homepage = "https://github.com/software-mansion/universal-sierra-compiler"
readme = "README.md"
repository = "https://github.com/software-mansion/universal-sierra-compiler"
version = "2.2.0-rc.1"
version = "2.2.0"
edition = "2021"
license = "MIT"


[dependencies]
cairo-lang-starknet-sierra-0_1_0 = { package = "cairo-lang-starknet", git = "https://github.com/starkware-libs/cairo.git", tag = "v1.0.0-alpha.6", version = "1.0.0-alpha.6" }
cairo-lang-starknet-sierra-1_0_0 = { package = "universal-sierra-compiler-cairo-lang-starknet-proxy", version = "=0.2.0" }
cairo-lang-sierra-to-casm = "2.7.0-rc.0"
cairo-lang-sierra = "2.7.0-rc.0"
cairo-lang-starknet-classes = "2.7.0-rc.0"
cairo-lang-sierra-to-casm = "2.7.0"
cairo-lang-sierra = "2.7.0"
cairo-lang-starknet-classes = "2.7.0"
serde_json = "1.0.108"
serde = "1.0.193"
clap = "4.4.11"
Expand All @@ -28,4 +28,4 @@ indoc = "2.0.4"
fs_extra = "1.3.0"
test-case = "3.3.1"
num-bigint = "0.4.4"
cairo-lang-casm = { version = "2.7.0-rc.0", features = ["serde"] }
cairo-lang-casm = { version = "2.7.0", features = ["serde"] }

0 comments on commit 2a46d57

Please sign in to comment.