Skip to content

Commit 40e37d2

Browse files
committed
Don't use Cargo-hack for 1.54
Cargo-hack doesn't support it any more.
1 parent d6a1c42 commit 40e37d2

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/main.yml

+16-4
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,11 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
build: [stable, 1.54.0, beta, nightly, macos, windows]
18+
build: [stable, beta, nightly, macos, windows]
1919
include:
2020
- build: stable
2121
os: ubuntu-latest
2222
rust: stable
23-
- build: 1.54.0
24-
os: ubuntu-latest
25-
rust: 1.54.0
2623
- build: beta
2724
os: ubuntu-latest
2825
rust: beta
@@ -45,6 +42,21 @@ jobs:
4542
- name: Run tests
4643
run: cargo hack test --feature-powerset && cargo hack test --feature-powerset --release
4744

45+
# Cargo-hack has increase their MSRV above ours, so we can't use it anymore.
46+
MSRV:
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/checkout@v2
50+
- uses: actions-rs/toolchain@v1
51+
with:
52+
profile: minimal
53+
toolchain: 1.46.0
54+
override: true
55+
- name: Test
56+
run: cargo test
57+
- name: Test all features
58+
run: cargo test --all-features
59+
4860
Rustfmt:
4961
name: Rustfmt
5062
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)