Skip to content

Commit eb34a50

Browse files
committed
chore(ci): Skip minimal versions for bins
1 parent c20c344 commit eb34a50

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
permissions:
2424
contents: none
2525
name: CI
26-
needs: [test, msrv, lockfile, docs, rustfmt, clippy, minimal-versions]
26+
needs: [test, msrv, lockfile, docs, rustfmt, clippy]
2727
runs-on: ubuntu-latest
2828
if: "always()"
2929
steps:
@@ -65,24 +65,6 @@ jobs:
6565
- uses: taiki-e/install-action@cargo-hack
6666
- name: Default features
6767
run: cargo hack check --feature-powerset --locked --rust-version --ignore-private --workspace --all-targets
68-
minimal-versions:
69-
name: Minimal versions
70-
runs-on: ubuntu-latest
71-
steps:
72-
- name: Checkout repository
73-
uses: actions/checkout@v4
74-
- name: Install stable Rust
75-
uses: dtolnay/rust-toolchain@stable
76-
with:
77-
toolchain: stable
78-
- name: Install nightly Rust
79-
uses: dtolnay/rust-toolchain@stable
80-
with:
81-
toolchain: nightly
82-
- name: Downgrade dependencies to minimal versions
83-
run: cargo +nightly generate-lockfile -Z minimal-versions
84-
- name: Compile with minimal versions
85-
run: cargo +stable check --workspace --all-features --locked
8668
lockfile:
8769
runs-on: ubuntu-latest
8870
steps:

0 commit comments

Comments
 (0)