Skip to content

Commit

Permalink
fix: use latest nightly release for the ci jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
lastminutedev committed Apr 17, 2024
1 parent 03f9f3b commit 535781b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/cI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2024-02-01
components: clippy
- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -35,9 +34,8 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2024-02-01
components: rustfmt
- run: cargo fmt --all --check

Expand All @@ -46,9 +44,7 @@ jobs:
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-02-01
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down

0 comments on commit 535781b

Please sign in to comment.