Skip to content

Commit 0eebb31

Browse files
authored
Bump msrv to 1.65 (#1140)
* Bump main.yml * Check msrv on macOS in main.yml * Bump msrv to 1.65 * Bump msrv to 1.66 Signed-off-by: Jiahao XU <[email protected]> * Fix job msrv Signed-off-by: Jiahao XU <[email protected]> --------- Signed-off-by: Jiahao XU <[email protected]>
1 parent 2802459 commit 0eebb31

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/main.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -196,21 +196,22 @@ jobs:
196196
strategy:
197197
fail-fast: false
198198
matrix:
199-
os: [ubuntu-latest, windows-latest]
199+
os: [ubuntu-latest, windows-latest, macos-latest]
200+
env:
201+
MSRV: 1.66.0
200202
steps:
201203
- uses: actions/checkout@v4
202204
- name: Install Rust
203205
run: |
204-
rustup toolchain install 1.63.0 --no-self-update --profile minimal
206+
rustup toolchain install $MSRV --no-self-update --profile minimal
205207
rustup toolchain install nightly --no-self-update --profile minimal
206-
rustup default 1.63.0
208+
rustup default $MSRV
207209
shell: bash
208210
- name: Create Cargo.lock with minimal version
209211
run: cargo +nightly update -Zminimal-versions
210-
- name: Cache downloaded crates since 1.63 is really slow in fetching
211-
uses: Swatinem/rust-cache@v2
212-
- run: cargo check --lib -p cc --locked
213-
- run: cargo check --lib -p cc --locked --all-features
212+
- uses: Swatinem/rust-cache@v2
213+
- run: env -u CARGO_REGISTRIES_CRATES_IO_PROTOCOL cargo check --lib -p cc --locked
214+
- run: env -u CARGO_REGISTRIES_CRATES_IO_PROTOCOL cargo check --lib -p cc --locked --all-features
214215

215216
clippy:
216217
name: Clippy

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ categories = ["development-tools::build-utils"]
1717
# The binary target is only used by tests.
1818
exclude = ["/.github", "tests", "src/bin"]
1919
edition = "2018"
20-
rust-version = "1.63"
20+
rust-version = "1.66"
2121

2222
[dependencies]
2323
jobserver = { version = "0.1.30", default-features = false, optional = true }

0 commit comments

Comments
 (0)