From 3e5d3a6fc41ab392647224f43af59a71a055e01f Mon Sep 17 00:00:00 2001 From: Yu Li Date: Thu, 26 Sep 2024 20:30:45 +0800 Subject: [PATCH] chore(ci): adjust order of toolchains in CI 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 --- .github/workflows/ci.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 36a6fc0f..342583a1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -66,7 +66,7 @@ jobs: strategy: matrix: - rust: [nightly, stable] + rust: [stable, nightly] steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@master @@ -84,7 +84,7 @@ jobs: strategy: matrix: - rust: [nightly, stable] + rust: [stable, nightly] steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@master @@ -102,7 +102,7 @@ jobs: strategy: matrix: - rust: [nightly, stable] + rust: [stable, nightly] steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@master @@ -119,7 +119,7 @@ jobs: strategy: matrix: - rust: [nightly, stable] + rust: [stable, nightly] steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@master