summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2022-07-14 13:23:20 -0400
committerAndrew Gallant <jamslam@gmail.com>2022-07-14 13:48:14 -0400
commitb9f5835534f0cf726e536c534c0725ea2848644e (patch)
treed18955854aa2aacb5d27fca7ae398f8566bb79b7
parente70778e89d6c2d516b0bd78f67f95a416ad6ad3c (diff)
ci: switch to dtolnay/rust-toolchain
The actions-rs/toolchain project appears dead. dtolnay's also seems more sustainable given its simplicity, but it does enough to suit our needs.
-rw-r--r--.github/workflows/ci.yml12
-rw-r--r--.github/workflows/release.yml4
2 files changed, 4 insertions, 12 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ab154ec3..252698fc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -98,11 +98,9 @@ jobs:
ci/macos-install-packages
- name: Install Rust
- uses: actions-rs/toolchain@v1
+ uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
- profile: minimal
- override: true
- name: Use Cross
if: matrix.target != ''
@@ -185,11 +183,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Rust
- uses: actions-rs/toolchain@v1
+ uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- override: true
- profile: minimal
components: rustfmt
- name: Check formatting
run: |
@@ -202,11 +198,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Rust
- uses: actions-rs/toolchain@v1
+ uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- profile: minimal
- override: true
- name: Check documentation
env:
RUSTDOCFLAGS: -D warnings
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 7cfb6a46..c8776d5a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -112,11 +112,9 @@ jobs:
ci/macos-install-packages
- name: Install Rust
- uses: actions-rs/toolchain@v1
+ uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
- profile: minimal
- override: true
target: ${{ matrix.target }}
- name: Use Cross