Skip to content

Commit 577a345

Browse files
djcchris-laplante
authored andcommitted
Only check library target against MSRV
1 parent 9deb9eb commit 577a345

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/rust.yml

+14-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ jobs:
2020
- os: ubuntu-latest
2121
rust: beta
2222
features: --all-features
23-
- os: ubuntu-latest
24-
rust: 1.58
25-
features: --features improved_unicode
2623
- os: ubuntu-latest
2724
rust: stable
2825
features: --all-features
@@ -66,6 +63,20 @@ jobs:
6663
command: test
6764
args: --workspace ${{ matrix.features }} ${{ matrix.target }}
6865

66+
msrv:
67+
runs-on: ubuntu-latest
68+
steps:
69+
- uses: actions/checkout@v3
70+
- uses: actions-rs/toolchain@v1
71+
with:
72+
profile: minimal
73+
toolchain: "1.58"
74+
override: true
75+
- uses: actions-rs/cargo@v1
76+
with:
77+
command: check
78+
args: --lib --all-features
79+
6980
lint:
7081
runs-on: ubuntu-latest
7182
steps:

0 commit comments

Comments
 (0)