Skip to content

Commit 6179bc6

Browse files
committed
Check MSRV in CI
1 parent 4154ef3 commit 6179bc6

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,15 @@ jobs:
8686
with:
8787
exclude: rustls-cert-gen
8888

89+
msrv:
90+
runs-on: ubuntu-latest
91+
steps:
92+
- uses: actions/checkout@v4
93+
- uses: dtolnay/rust-toolchain@master
94+
with:
95+
toolchain: 1.71.0
96+
- run: cargo check --locked --lib --all-features
97+
8998
build-windows:
9099
runs-on: windows-latest
91100
env:

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ x509-parser = "0.17"
1212
[workspace.package]
1313
license = "MIT OR Apache-2.0"
1414
edition = "2021"
15+
rust-version = "1.71"
1516
readme = "README.md"
1617
description = "Rust X.509 certificate generator"
1718
repository = "https://github.com/rustls/rcgen"

rcgen/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ repository.workspace = true
77
readme.workspace = true
88
license.workspace = true
99
edition.workspace = true
10+
rust-version.workspace = true
1011
keywords.workspace = true
1112

1213
[[example]]

rustls-cert-gen/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ homepage = "https://github.com/rustls/rcgen/tree/main/rustls-cert-gen"
77
repository = "https://github.com/rustls/rcgen"
88
license.workspace = true
99
edition.workspace = true
10+
rust-version.workspace = true
1011
keywords.workspace = true
1112

1213
[features]

0 commit comments

Comments
 (0)