Skip to content

Commit 9687d29

Browse files
committed
Add msrv check
1 parent 18e7829 commit 9687d29

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/generic.yml

+11
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,14 @@ jobs:
8383
uses: actions/checkout@v4
8484
- name: Check semver
8585
uses: obi1kenobi/cargo-semver-checks-action@v2
86+
87+
msvr:
88+
runs-on: ubuntu-latest
89+
steps:
90+
- name: Checkout
91+
uses: actions/checkout@v4
92+
- uses: taiki-e/install-action@v2
93+
with:
94+
tool: cargo-binstall
95+
- run: cargo binstall --version 0.18.4 --no-confirm cargo-msrv
96+
- run: cargo msrv verify

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ license = "MIT OR Apache-2.0"
77
description = "A simple type for non empty Strings, similar to NonZeroUsize and friends."
88
repository = "https://github.com/MidasLamb/non-empty-string"
99
keywords = ["nonemptystring", "string", "str", "non-empty", "nonempty"]
10+
rust-version = "1.81.0"
1011

1112
[package.metadata."docs.rs"]
1213
all-features = true

0 commit comments

Comments
 (0)