Skip to content

Commit

Permalink
Update stable toolchain in CI
Browse files Browse the repository at this point in the history
GitHub Actions images are updated regularly, but sometimes the
preinstalled Rust toolchain is not the latest stable release. This
commit updates the stable toolchain to the latest version in the CI
workflow.
  • Loading branch information
magicant committed Jan 16, 2025
1 parent fccbe20 commit 44a5db2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ jobs:
RUSTDOCFLAGS: -D warnings
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Run basic tests
run: ./check.sh -v
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: giraffate/clippy-action@v1
with:
Expand All @@ -35,6 +37,7 @@ jobs:
RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Run extra tests
run: |
Expand All @@ -58,6 +61,7 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Test yash-arith
run: cargo test --all-features --package yash-arith
Expand Down

0 comments on commit 44a5db2

Please sign in to comment.