From dd30c42bfb3821cb9354ec6c54b16e7f7dc54da1 Mon Sep 17 00:00:00 2001 From: flip1995 Date: Thu, 10 Dec 2020 10:04:48 +0100 Subject: [PATCH] Use `cargo -V` instead of `cargo update` to install the toolchain This is still a hack. There should be a way to install the toolchain file with `rustup` somehow. --- .github/workflows/clippy.yml | 5 +++-- .github/workflows/clippy_bors.yml | 15 +++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 196660a2963f..ed520567fc4a 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -38,8 +38,9 @@ jobs: - name: Checkout uses: actions/checkout@v2.3.3 - - name: Run cargo update - run: cargo update + # HACK(flip1995): This is here to install the correct toolchain + - name: Print cargo version + run: cargo -V # Run - name: Set LD_LIBRARY_PATH (Linux) diff --git a/.github/workflows/clippy_bors.yml b/.github/workflows/clippy_bors.yml index 077481af3862..967f45861d4a 100644 --- a/.github/workflows/clippy_bors.yml +++ b/.github/workflows/clippy_bors.yml @@ -88,8 +88,9 @@ jobs: - name: Checkout uses: actions/checkout@v2.3.3 - - name: Run cargo update - run: cargo update + # HACK(flip1995): This is here to install the correct toolchain + - name: Print cargo version + run: cargo -V # Run - name: Set LD_LIBRARY_PATH (Linux) @@ -149,8 +150,9 @@ jobs: - name: Checkout uses: actions/checkout@v2.3.3 - - name: Run cargo update - run: cargo update + # HACK(flip1995): This is here to install the correct toolchain + - name: Print cargo version + run: cargo -V # Run - name: Build Integration Test @@ -207,8 +209,9 @@ jobs: - name: Checkout uses: actions/checkout@v2.3.3 - - name: Run cargo update - run: cargo update + # HACK(flip1995): This is here to install the correct toolchain + - name: Print cargo version + run: cargo -V # Download - name: Download target dir