Skip to content

Commit 48ed6f6

Browse files
committed
ci: check with -Z minimal-versions
1 parent fbf9fac commit 48ed6f6

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/ci_check.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ jobs:
2020
runs-on: ${{ matrix.os }}
2121
strategy:
2222
matrix:
23-
os: [ ubuntu-22.04, windows-latest, macos-latest ]
23+
os: [ubuntu-22.04, windows-latest, macos-latest]
24+
lock: [minimal, auto]
2425
steps:
2526
- uses: actions/checkout@v4
2627
- name: Setup Rust Toolchain
@@ -37,8 +38,13 @@ jobs:
3738
if: runner.os == 'Windows'
3839
uses: seanmiddleditch/gha-setup-ninja@v4
3940
- name: Check clippy
41+
shell: bash
4042
run: |
41-
cargo clippy --all-features --all-targets -- -Dwarnings
43+
ARGS=()
44+
if [[ "${{ matrix.lock }}" == "minimal" ]]; then
45+
ARGS+=("-Z" "minimal-versions")
46+
fi
47+
cargo clippy "${ARGS[@]}" --all-features --all-targets -- -Dwarnings
4248
- name: Check Docs
4349
run: |
4450
cargo doc --workspace --all-features --no-deps

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ futures-channel = "0.3.29"
5151
futures-rustls = { version = "0.26.0", default-features = false }
5252
futures-util = "0.3.29"
5353
libc = "0.2.164"
54-
native-tls = "0.2.11"
54+
native-tls = "0.2.13"
5555
nix = "0.30.1"
5656
once_cell = "1.18.0"
5757
os_pipe = "1.1.4"

0 commit comments

Comments
 (0)