Replace actions-rs with dtolnay/rust-toolchain (#367)
This commit is contained in:
parent
4463701998
commit
f50ce5f06a
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
||||
10
.github/workflows/wheel-builder.yml
vendored
10
.github/workflows/wheel-builder.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user