From ee7205d92c7f8aaeb4ea8d66105f158c9731fc6c Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Tue, 20 Jun 2023 19:34:49 +0000 Subject: [PATCH] Pin GitHub Action rust version to 1.69.0 This adds a step in the node setup to install our expected version of the rust toolchain. Signed-off-by: Sean McGinnis --- .github/actions/setup-node/action.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml index d6db96ed183..ee036f996b8 100644 --- a/.github/actions/setup-node/action.yml +++ b/.github/actions/setup-node/action.yml @@ -34,6 +34,12 @@ runs: tools/.crates2.json tools/target key: ${{ hashFiles('.github/workflows/cache.yml') }}-${{ runner.os }}-${{ env.OS_ARCH }}-${{ hashFiles('tools/Cargo.lock') }} + - name: Setup pinned rust version + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.69.0 + override: true + components: rustfmt, clippy - run: cargo install --locked --version 0.36.0 cargo-make shell: bash - run: cargo install --locked --version 0.6.2 cargo-sweep