Skip to content

Commit

Permalink
ci: Stop using actions-rs/toolchain. (#320)
Browse files Browse the repository at this point in the history
The `actions-rs` actions haven't been maintained in some time and result in a number of deprecation warnings from GitHub Actions.
  • Loading branch information
waywardmonkeys authored Feb 5, 2024
1 parent b4e27fa commit 11b559e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Toolchain setup
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
override: true
components: rustfmt

- uses: actions/checkout@v4
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ jobs:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-bin-${{ hashFiles('**/Cargo.lock') }}
- name: Toolchain setup
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
override: true
components: llvm-tools-preview
- name: Install grcov
if: matrix.rust-version == 'nightly' && matrix.cargo-args == '--all-features'
Expand Down

0 comments on commit 11b559e

Please sign in to comment.