Skip to content

Commit 7721ae2

Browse files
authored
Merge pull request #142 from yanganto/msrv
Specify MSRV 1.71.1
2 parents 852e49e + 557c3a3 commit 7721ae2

File tree

3 files changed

+115
-100
lines changed

3 files changed

+115
-100
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ name: Basic CI
44

55
env:
66
CARGO_TERM_COLOR: always
7+
RUST_MIN_SRV: "1.71.1"
78

89
jobs:
910
check:
@@ -49,6 +50,19 @@ jobs:
4950
- run: rustup component add clippy
5051
- run: cargo clippy --all-targets -- -D warnings
5152

53+
min_version:
54+
name: Minimum Supported Rust Version
55+
runs-on: ${{ matrix.os }}
56+
strategy:
57+
matrix:
58+
os: [ubuntu-latest, macOS-latest, windows-latest]
59+
steps:
60+
- uses: actions/checkout@v4
61+
- uses: dtolnay/rust-toolchain@stable
62+
with:
63+
toolchain: ${{ env.RUST_MIN_SRV }}
64+
- run: cargo test
65+
5266
coverage:
5367
name: Code Coverage
5468
runs-on: ${{ matrix.job.os }}

0 commit comments

Comments
 (0)