diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1516127..b9bc9c9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,7 +16,7 @@ jobs: - stable - beta - nightly - - 1.23.0 + - 1.63.0 # MSRV of test dependencies os: - macos-11 - windows-2022 @@ -32,3 +32,17 @@ jobs: rustup update --no-self-update - run: cargo test --all + + msrv: + name: Check building with the MSRV + runs-on: ubuntu-22.04 + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Update rust + run: | + rustup default 1.23.0 + rustup update --no-self-update + + - run: cargo build diff --git a/Cargo.toml b/Cargo.toml index 894ed21..f2de0b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,8 +11,9 @@ description = """ Support for matching file paths against Unix shell style patterns. """ categories = ["filesystem"] +rust-version = "1.23.0" [dev-dependencies] -# FIXME: Replace it with `tempfile` once we bump up MSRV. +# FIXME: This should be replaced by `tempfile` tempdir = "0.3" doc-comment = "0.3"