Skip to content

Commit

Permalink
Update CI (#9)
Browse files Browse the repository at this point in the history
* ci: Update to `actions/checkout@v3`.

* ci: Switch to `dtolnay/rust-toolchain`.

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 authored Jul 25, 2023
1 parent aeddb8a commit daf7efd
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,15 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
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 daf7efd

Please sign in to comment.