Skip to content

Commit

Permalink
chore(ci): adjust order of toolchains in CI
Browse files Browse the repository at this point in the history
Nightly toolchains often add new rules, and sometimes some rules
cannot be adapted immediately.

In order to make CI work properly, this commit adjusts the order of
toolchains in CI. When there is a problem with the nightly toolchain,
the submitted Pull Request can still be checked normally.

Signed-off-by: Yu Li <[email protected]>
  • Loading branch information
yukiiiteru committed Sep 26, 2024
1 parent cd84286 commit 3e5d3a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

strategy:
matrix:
rust: [nightly, stable]
rust: [stable, nightly]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
Expand All @@ -84,7 +84,7 @@ jobs:

strategy:
matrix:
rust: [nightly, stable]
rust: [stable, nightly]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
Expand All @@ -102,7 +102,7 @@ jobs:

strategy:
matrix:
rust: [nightly, stable]
rust: [stable, nightly]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
Expand All @@ -119,7 +119,7 @@ jobs:

strategy:
matrix:
rust: [nightly, stable]
rust: [stable, nightly]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
Expand Down

0 comments on commit 3e5d3a6

Please sign in to comment.