Skip to content
Snippets Groups Projects
Commit b704f4e83d97 authored by Alex Gaynor's avatar Alex Gaynor
Browse files

Replace actions-rs with dtolnay/rust-toolchain (#367)

parent 198e12b7ee38
No related branches found
No related tags found
No related merge requests found
......@@ -118,5 +118,5 @@
~/.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:
......@@ -122,3 +122,2 @@
with:
profile: minimal
toolchain: ${{ matrix.PYTHON.RUST_VERSION || 'stable' }}
......@@ -124,6 +123,4 @@
toolchain: ${{ matrix.PYTHON.RUST_VERSION || 'stable' }}
override: true
default: true
- run: pip install tox
- run: tox
......
......@@ -68,5 +68,5 @@
- 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:
......@@ -72,3 +72,2 @@
with:
profile: minimal
toolchain: stable
......@@ -74,6 +73,4 @@
toolchain: stable
override: true
default: true
# Add the arm64 target in addition to the native arch (x86_64)
target: aarch64-apple-darwin
......@@ -122,5 +119,5 @@
with:
python-version: ${{ matrix.PYTHON.VERSION }}
architecture: ${{ matrix.WINDOWS.ARCH }}
- uses: actions-rs/toolchain@v1.0.7
- uses: dtolnay/rust-toolchain@3d5c338b548e8aff8b55d96390e28fa86945e1b2
with:
......@@ -126,3 +123,2 @@
with:
profile: minimal
toolchain: stable
......@@ -128,6 +124,4 @@
toolchain: stable
override: true
default: true
target: ${{ matrix.WINDOWS.RUST_TRIPLE }}
- run: python -m pip install -U pip wheel setuptools-rust
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment