mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
chore(ci): Don't check minimal versions for bins
This commit is contained in:
parent
267121b5d6
commit
9dc8c88844
1 changed files with 1 additions and 19 deletions
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: none
|
contents: none
|
||||||
name: CI
|
name: CI
|
||||||
needs: [test, msrv, lockfile, docs, rustfmt, clippy, minimal-versions]
|
needs: [test, msrv, lockfile, docs, rustfmt, clippy]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: "always()"
|
if: "always()"
|
||||||
steps:
|
steps:
|
||||||
|
@ -67,24 +67,6 @@ jobs:
|
||||||
- uses: taiki-e/install-action@cargo-hack
|
- uses: taiki-e/install-action@cargo-hack
|
||||||
- name: Default features
|
- name: Default features
|
||||||
run: cargo hack check --feature-powerset --locked --rust-version --ignore-private --workspace --all-targets
|
run: cargo hack check --feature-powerset --locked --rust-version --ignore-private --workspace --all-targets
|
||||||
minimal-versions:
|
|
||||||
name: Minimal versions
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Install stable Rust
|
|
||||||
uses: dtolnay/rust-toolchain@stable
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
- name: Install nightly Rust
|
|
||||||
uses: dtolnay/rust-toolchain@stable
|
|
||||||
with:
|
|
||||||
toolchain: nightly
|
|
||||||
- name: Downgrade dependencies to minimal versions
|
|
||||||
run: cargo +nightly generate-lockfile -Z minimal-versions
|
|
||||||
- name: Compile with minimal versions
|
|
||||||
run: cargo +stable check --workspace --all-features --locked
|
|
||||||
lockfile:
|
lockfile:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in a new issue