diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6119cd..8c09a31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,6 +67,17 @@ jobs: incremental_files_only: false verbose: true + msrv: + name: MSRV + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: dtolnay/rust-toolchain@1.65.0 + - uses: Swatinem/rust-cache@v2 + - uses: mozilla-actions/sccache-action@v0.0.9 + - run: cargo fetch --locked + - run: cargo test --all-features + test: name: Build/Test runs-on: ${{ matrix.os }} diff --git a/Cargo.lock b/Cargo.lock index 1955ef3..b3f86ea 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 4 +version = 3 [[package]] name = "aho-corasick" diff --git a/Cargo.toml b/Cargo.toml index 00fee4e..a7dba81 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,7 @@ name = "platform-info" version = "2.1.0" authors = ["uutils developers"] edition = "2018" +rust-version = "1.65.0" description = "A simple cross-platform interface to get info about a system" homepage = "https://github.com/uutils/platform-info"