From f50ce5f06a86289edce0f760d06581ec708f4546 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 15 Jul 2022 16:02:39 -0400 Subject: [PATCH] Replace actions-rs with dtolnay/rust-toolchain (#367) --- .github/workflows/ci.yml | 5 +---- .github/workflows/wheel-builder.yml | 10 ++-------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c828cc1..6fc2fe1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -118,12 +118,9 @@ jobs: ~/.cargo/git/db/ src/_bcrypt/target/ key: ${{ runner.os }}-${{ matrix.PYTHON.VERSION }}-${{ steps.setup-python.outputs.python-version }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af + - uses: dtolnay/rust-toolchain@3d5c338b548e8aff8b55d96390e28fa86945e1b2 with: - profile: minimal toolchain: ${{ matrix.PYTHON.RUST_VERSION || 'stable' }} - override: true - default: true - run: pip install tox - run: tox diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index 66bb0cd..7ee4142 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml @@ -68,12 +68,9 @@ jobs: - run: | curl "${{ matrix.PYTHON.DOWNLOAD_URL }}" -o python.pkg sudo installer -pkg python.pkg -target / - - uses: actions-rs/toolchain@v1.0.7 + - uses: dtolnay/rust-toolchain@3d5c338b548e8aff8b55d96390e28fa86945e1b2 with: - profile: minimal toolchain: stable - override: true - default: true # Add the arm64 target in addition to the native arch (x86_64) target: aarch64-apple-darwin @@ -122,12 +119,9 @@ jobs: with: python-version: ${{ matrix.PYTHON.VERSION }} architecture: ${{ matrix.WINDOWS.ARCH }} - - uses: actions-rs/toolchain@v1.0.7 + - uses: dtolnay/rust-toolchain@3d5c338b548e8aff8b55d96390e28fa86945e1b2 with: - profile: minimal toolchain: stable - override: true - default: true target: ${{ matrix.WINDOWS.RUST_TRIPLE }} - run: python -m pip install -U pip wheel setuptools-rust