Skip to content

Commit

Permalink
update MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
magiclen committed Sep 9, 2023
1 parent 9bbf46a commit 0882f98
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 7 deletions.
27 changes: 25 additions & 2 deletions .github/workflows/ci-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
- macos-latest
- windows-latest
toolchain:
- 1.56
- stable
- nightly
features:
Expand All @@ -34,4 +33,28 @@ jobs:
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo test --release ${{ matrix.features }}
- run: cargo doc --release ${{ matrix.features }}
- run: cargo doc --release ${{ matrix.features }}

MSRV:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
toolchain:
- "1.60"
features:
-
- --features lazy_static_cache
- --features once_cell_cache
- --features unsafe_cache
name: Test ${{ matrix.toolchain }} on ${{ matrix.os }} (${{ matrix.features }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo test --release --lib --bins ${{ matrix.features }}
27 changes: 25 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
- macos-latest
- windows-latest
toolchain:
- 1.56
- stable
- nightly
features:
Expand All @@ -53,4 +52,28 @@ jobs:
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo test ${{ matrix.features }}
- run: cargo doc ${{ matrix.features }}
- run: cargo doc ${{ matrix.features }}

MSRV:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
toolchain:
- "1.60"
features:
-
- --features lazy_static_cache
- --features once_cell_cache
- --features unsafe_cache
name: Test ${{ matrix.toolchain }} on ${{ matrix.os }} (${{ matrix.features }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo test --lib --bins ${{ matrix.features }}
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "path-absolutize"
version = "3.1.0"
version = "3.1.1"
authors = ["Magic Len <[email protected]>"]
edition = "2021"
rust-version = "1.56"
rust-version = "1.60"
repository = "https://github.com/magiclen/path-absolutize"
homepage = "https://magiclen.org/path-absolutize"
keywords = ["path", "dot", "dedot", "absolute", "canonical"]
Expand All @@ -13,7 +13,7 @@ license = "MIT"
include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE", "benches/bench.rs"]

[dependencies]
path-dedot = "3.1.0"
path-dedot = "3.1.1"

[dev-dependencies]
bencher = "0.1.5"
Expand Down

0 comments on commit 0882f98

Please sign in to comment.