From d87833325bd9e4dd494c6381d7541a327567b5dd Mon Sep 17 00:00:00 2001 From: Christian Menard Date: Mon, 22 Aug 2022 14:34:26 +0200 Subject: [PATCH] Update rs-tests.yml --- .github/workflows/rs-tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/rs-tests.yml b/.github/workflows/rs-tests.yml index a11662db85..c54810b418 100644 --- a/.github/workflows/rs-tests.yml +++ b/.github/workflows/rs-tests.yml @@ -36,6 +36,12 @@ jobs: - name: Delete rustup cache run: rm -rf ~/.rustup if: ${{ steps.rustup.outcome }} != "success" + - name: Setup Rust (again) + if: ${{ steps.rustup.outcome }} != "success" + uses: ATiltedTree/setup-rust@v1 + with: + rust-version: ${{ matrix.rust }} + components: clippy - name: Set rust runtime version run: | echo ${{ inputs.runtime-ref }} > org.lflang/src/org/lflang/generator/rust/rust-runtime-version.txt