Skip to content

Commit 4db293d

Browse files
committed
chore(ci): Only verify MSRV for published packages
1 parent 51a98a2 commit 4db293d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,22 +53,23 @@ jobs:
5353
- name: No-default features
5454
run: cargo test --workspace --no-default-features
5555
msrv:
56-
name: "Check MSRV: 1.65.0"
56+
name: "Check MSRV"
5757
runs-on: ubuntu-latest
5858
steps:
5959
- name: Checkout repository
6060
uses: actions/checkout@v4
6161
- name: Install Rust
6262
uses: dtolnay/rust-toolchain@stable
6363
with:
64-
toolchain: "1.65.0" # MSRV
64+
toolchain: stable
6565
- uses: Swatinem/rust-cache@v2
66+
- uses: taiki-e/install-action@cargo-hack
6667
- name: Default features
67-
run: cargo check --workspace --all-targets
68+
run: cargo hack check --rust-version --ignore-private --workspace --all-targets
6869
- name: All features
69-
run: cargo check --workspace --all-targets --all-features
70+
run: cargo hack check --rust-version --ignore-private --workspace --all-targets --all-features
7071
- name: No-default features
71-
run: cargo check --workspace --all-targets --no-default-features
72+
run: cargo hack check --rust-version --ignore-private --workspace --all-targets --no-default-features
7273
lockfile:
7374
runs-on: ubuntu-latest
7475
steps:

0 commit comments

Comments
 (0)