From 6e726563c81b386ae52e4079f29db877ad67416c Mon Sep 17 00:00:00 2001 From: Jrigada Date: Tue, 27 Aug 2024 11:19:42 -0300 Subject: [PATCH] pin rust version to 1.80 --- .github/workflows/zksync-ci.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/zksync-ci.yml b/.github/workflows/zksync-ci.yml index ef875ad5..2f499b40 100644 --- a/.github/workflows/zksync-ci.yml +++ b/.github/workflows/zksync-ci.yml @@ -21,7 +21,7 @@ jobs: timeout-minutes: 60 steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@nightly + - uses: dtolnay/rust-toolchain@1.80.0 - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true @@ -36,10 +36,9 @@ jobs: timeout-minutes: 60 steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@clippy - - uses: Swatinem/rust-cache@v2 + - uses: dtolnay/rust-toolchain@1.80.0 with: - cache-on-failure: true + components: clippy - run: cargo clippy --workspace --all-targets --all-features env: RUSTFLAGS: -Dwarnings @@ -52,7 +51,7 @@ jobs: uses: actions/checkout@v4 - name: Install Rust - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@1.80.0 with: components: rustfmt @@ -68,10 +67,7 @@ jobs: with: submodules: recursive ref: ${{ github.event.pull_request.head.sha }} - - uses: actions-rust-lang/setup-rust-toolchain@v1 - - uses: Swatinem/rust-cache@v2 - with: - cache-on-failure: true + - uses: dtolnay/rust-toolchain@1.80.0 - name: Run tests run: cargo test zk env: