Skip to content

Commit aafd2a8

Browse files
daywalker90cdecker
authored andcommitted
CI: add workflow to verify MSRV on any rust file changes
Changelog-None
1 parent f488ca2 commit aafd2a8

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

‎.github/workflows/rust-msrv.yml‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Rust MSRV verification test
2+
on:
3+
pull_request:
4+
paths:
5+
- '**/*.rs'
6+
- '**/Cargo.toml'
7+
- '**/Cargo.lock'
8+
jobs:
9+
msrv-test:
10+
name: Rust MSRV verification test
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 30
13+
strategy:
14+
fail-fast: true
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v6
18+
19+
- name: protoc
20+
uses: arduino/setup-protoc@v3
21+
22+
- name: Install cargo-hack
23+
uses: taiki-e/install-action@cargo-hack
24+
25+
- name: Check MSRV
26+
run: cargo hack check --rust-version --workspace --all-targets --all-features

0 commit comments

Comments
 (0)