Skip to content

Commit b21bec1

Browse files
Add minimum rust_version to Cargo.toml and enforce it via GH Action (#138)
1 parent b35c098 commit b21bec1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/clippy_build_test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ env:
1313
RUST_BACKTRACE: full
1414

1515
jobs:
16+
msrv:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: taiki-e/install-action@cargo-hack
21+
- run: cargo hack check --rust-version --workspace --all-targets --ignore-private
22+
1623
build:
1724
runs-on: ${{ matrix.os }}
1825
strategy:

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ documentation = "https://andrewdavidmackenzie.github.io/libproc-rs/libproc/index
88
readme = "README.md"
99
license = "MIT"
1010
edition = "2018"
11+
rust-version = "1.72"
1112

1213
[dependencies]
1314
errno = "0.3.0"

0 commit comments

Comments
 (0)