From 9f1d14d957c0c2c5ed94bc80449c34a15f088073 Mon Sep 17 00:00:00 2001 From: Deepak Bomjan Date: Fri, 24 Nov 2023 11:10:40 +0545 Subject: [PATCH] ci: update default toolchain in coverage workflow --- .github/workflows/cosmwasm-contracts-code-coverage.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cosmwasm-contracts-code-coverage.yml b/.github/workflows/cosmwasm-contracts-code-coverage.yml index 12cd3e64b..36a92b25b 100644 --- a/.github/workflows/cosmwasm-contracts-code-coverage.yml +++ b/.github/workflows/cosmwasm-contracts-code-coverage.yml @@ -17,7 +17,8 @@ defaults: working-directory: contracts/cosmwasm-vm env: - RUSTC_VERSION: '1.72.1' + RUSTC_VERSION: '1.69.0' + RUSTC_TOOLCHAIN: '1.69.0-x86_64-unknown-linux-gnu' jobs: code-coverage: @@ -30,7 +31,12 @@ jobs: with: submodules: true - name: Install Rust - run: rustup install "$RUSTC_VERSION" + run: | + rustup install "$RUSTC_VERSION" + rustup default "$RUSTC_TOOLCHAIN" + rustup component add clippy + rustup component add rustfmt + - name: Cache Rust dependencies uses: Swatinem/rust-cache@v2 - name: Install cargo-llvm-cov