1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: MSRV
on:
push:
branches:
pull_request:
paths:
- "Cargo.toml"
- "Cargo.lock"
- "src/**"
- "tests/**"
- "examples/**"
- ".github/workflows/msrv.yml"
- ".github/workflows/release.yml"
permissions:
contents: read
concurrency:
group: msrv-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: "1"
jobs:
msrv:
name: Rust 1.97
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install Rust 1.97
uses: dtolnay/rust-toolchain@1.97.0
- name: Cache Rust artifacts
uses: Swatinem/rust-cache@v2.9.1
with:
key: msrv-1.97
- name: Verify rustc version
run: rustc --version
- name: Check default features
run: cargo check
- name: Check all features
run: cargo check --all-features
- name: Test default features
run: cargo test
- name: Test all features
run: cargo test --all-features