diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d9ae662d4..08024f174a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,7 +88,7 @@ jobs: # Run the Rust integration tests. rs-tests: - uses: lf-lang/lingua-franca/.github/workflows/rs-tests.yml@master + uses: lf-lang/lingua-franca/.github/workflows/rs-tests.yml@ci-rust-fix needs: cancel # Run the Rust benchmark tests. diff --git a/.github/workflows/rs-tests.yml b/.github/workflows/rs-tests.yml index e29e295571..c54810b418 100644 --- a/.github/workflows/rs-tests.yml +++ b/.github/workflows/rs-tests.yml @@ -27,6 +27,17 @@ jobs: - name: Prepare build environment uses: ./.github/actions/prepare-build-env - name: Setup Rust + id: rustup + uses: ATiltedTree/setup-rust@v1 + with: + rust-version: ${{ matrix.rust }} + components: clippy + continue-on-error: true + - 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 }}