From 4ce616aeca07b957cbf58c4a736a9a7d05b7cd04 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Fri, 15 Mar 2024 11:42:58 +0200 Subject: [PATCH] CI: fix lints.yaml rustup install step Signed-off-by: Manos Pitsidianakis --- .gitea/workflows/lints.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/lints.yaml b/.gitea/workflows/lints.yaml index afe32f28..66cec473 100644 --- a/.gitea/workflows/lints.yaml +++ b/.gitea/workflows/lints.yaml @@ -56,7 +56,8 @@ jobs: curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused --location --silent --show-error --fail "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y source "${HOME}/.cargo/env" echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH - rustup toolchain install --profile minimal --component clippy,rustfmt ${{ matrix.rust }} --target ${{ matrix.target }} + rustup toolchain install --profile minimal --component clippy,rustfmt --target ${{ matrix.target }} -- "${{ matrix.rust }}" + rustup default ${{ matrix.rust }} fi - name: Configure cargo data directory # After this point, all cargo registry and crate data is stored in