Skip to content

Commit

Permalink
ci: Use stable Rust for build step. (#22)
Browse files Browse the repository at this point in the history
This updates the checkout action to the current latest (v4) and
uses another action to make sure that the version of Rust being
used is the current stable version (rather than whatever GitHub
last installed).
  • Loading branch information
waywardmonkeys authored Apr 13, 2024
1 parent e230d38 commit fa9333d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: install stable toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt
- name: Build
run: cargo build --workspace --verbose
- name: Run tests
Expand Down

0 comments on commit fa9333d

Please sign in to comment.