Skip to content

Commit

Permalink
ci: Switch to dtolnay/rust-toolchain.
Browse files Browse the repository at this point in the history
The `actions-rs` actions haven't been updated in some time and
result in a number of warnings about deprecated functionality
within GitHub Actions.
  • Loading branch information
waywardmonkeys committed Jul 24, 2023
1 parent 27222f1 commit c1338b3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ jobs:
submodules: true

- name: Install Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt,clippy
components: rustfmt, clippy

- name: Fix cargo cache permission issue
run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
Expand Down

0 comments on commit c1338b3

Please sign in to comment.