From 68630a1b143222992001d7f311377e661aca6c5a Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Thu, 6 Jul 2023 14:02:39 +0200 Subject: [PATCH] Update Github actions to omit deprecation warnings --- .github/workflows/build.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee43460dd..52e7ed865 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: stable, beta, 1.60.0, # Our MSRV - ] + ] include: - toolchain: stable check-fmt: true @@ -20,13 +20,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Rust ${{ matrix.toolchain }} toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.toolchain }} - override: true - profile: minimal + run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }} - name: Pin packages to allow for MSRV if: matrix.msrv run: cargo update -p hashlink --precise "0.8.1" --verbose # hashlink 0.8.2 requires hashbrown 0.13, requiring 1.61.0