Skip to content

Commit 020d340

Browse files
committed
ci: change toolchain to stable
Since the project can now fail to build on nightly when nightly rustc prints more target cpu features than std::arch::is_ARCH_feature_detected!() supports (which is the case as of this moment). A user of cargo-multivers would simply use --exclude-cpu-features on features that are causing the compile time error, but using nightly in CI would mean keeping up with which features are supported by rustc but not std::arch:: macros.
1 parent aeea6b8 commit 020d340

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
matrix:
2828
os: ["ubuntu-latest", "windows-latest"]
29-
rust: ["nightly"]
29+
rust: ["stable"]
3030
runs-on: ${{ matrix.os }}
3131
steps:
3232
- name: Checkout repository
@@ -91,7 +91,7 @@ jobs:
9191
- name: Install Rust
9292
uses: dtolnay/rust-toolchain@master
9393
with:
94-
toolchain: nightly
94+
toolchain: stable
9595
components: clippy
9696
- uses: Swatinem/rust-cache@v2
9797
- uses: actions-rs/clippy-check@v1
@@ -112,10 +112,10 @@ jobs:
112112
steps:
113113
- name: Checkout repository
114114
uses: actions/checkout@v5
115-
- name: Install Rust nightly
115+
- name: Install Rust stable
116116
uses: dtolnay/rust-toolchain@master
117117
with:
118-
toolchain: nightly
118+
toolchain: stable
119119
- uses: ./
120120
with:
121121
manifest_path: tests/test-argv/Cargo.toml

0 commit comments

Comments
 (0)