Skip to content

Commit c6e8451

Browse files
committed
ci: remove dev deps on MSRV check
1 parent 4be699d commit c6e8451

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,16 @@ jobs:
2727
with:
2828
toolchain: '1.56'
2929

30+
- name: Install cargo-hack
31+
uses: taiki-e/[email protected]
32+
with:
33+
tool: cargo-hack
34+
35+
- name: Generate MSRV lockfile
36+
run: cargo hack --remove-dev-deps generate-lockfile
37+
3038
- name: Check
31-
run: cargo check
39+
run: cargo check --workspace --all-features
3240

3341
test:
3442
name: Test
@@ -40,4 +48,4 @@ jobs:
4048
uses: actions-rust-lang/[email protected]
4149

4250
- name: Test
43-
run: cargo test
51+
run: cargo test --workspace --all-features

.github/workflows/lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@v4
24+
2425
- name: Install Rust
2526
uses: actions-rust-lang/[email protected]
2627
with:
2728
components: clippy
29+
2830
- name: Install cargo-hack
2931
uses: taiki-e/[email protected]
3032
with:
@@ -40,6 +42,7 @@ jobs:
4042
runs-on: ubuntu-latest
4143
steps:
4244
- uses: actions/checkout@v4
45+
4346
- name: Install Rust (nightly)
4447
uses: actions-rust-lang/[email protected]
4548
with:
@@ -52,6 +55,7 @@ jobs:
5255
runs-on: ubuntu-latest
5356
steps:
5457
- uses: actions/checkout@v4
58+
5559
- name: Install Rust
5660
uses: actions-rust-lang/[email protected]
5761
with:

0 commit comments

Comments
 (0)