mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-24 18:10:56 -05:00
chore(ci): Only verify MSRV for published packages
This commit is contained in:
parent
51a98a25b6
commit
4db293d99b
1 changed files with 6 additions and 5 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -53,7 +53,7 @@ jobs:
|
||||||
- name: No-default features
|
- name: No-default features
|
||||||
run: cargo test --workspace --no-default-features
|
run: cargo test --workspace --no-default-features
|
||||||
msrv:
|
msrv:
|
||||||
name: "Check MSRV: 1.65.0"
|
name: "Check MSRV"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
@ -61,14 +61,15 @@ jobs:
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: "1.65.0" # MSRV
|
toolchain: stable
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
- uses: taiki-e/install-action@cargo-hack
|
||||||
- name: Default features
|
- name: Default features
|
||||||
run: cargo check --workspace --all-targets
|
run: cargo hack check --rust-version --ignore-private --workspace --all-targets
|
||||||
- name: All features
|
- name: All features
|
||||||
run: cargo check --workspace --all-targets --all-features
|
run: cargo hack check --rust-version --ignore-private --workspace --all-targets --all-features
|
||||||
- name: No-default features
|
- name: No-default features
|
||||||
run: cargo check --workspace --all-targets --no-default-features
|
run: cargo hack check --rust-version --ignore-private --workspace --all-targets --no-default-features
|
||||||
lockfile:
|
lockfile:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in a new issue