Skip to content

Commit

Permalink
update MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
magiclen committed Sep 11, 2023
1 parent 919794d commit 2eef70c
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 6 deletions.
25 changes: 23 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 @@ -32,4 +31,26 @@ 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 character
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 }}
25 changes: 23 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
- macos-latest
- windows-latest
toolchain:
- 1.56
- stable
- nightly
features:
Expand All @@ -48,4 +47,26 @@ 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 character
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 }}
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "boyer-moore-magiclen"
version = "0.2.16"
version = "0.2.17"
authors = ["Magic Len <len@magiclen.org>"]
edition = "2021"
rust-version = "1.56"
rust-version = "1.60"
repository = "https://github.com/magiclen/boyer-moore-magiclen"
homepage = "https://magiclen.org/rust-boyer-moore-magiclen"
keywords = ["boyer-moore-magiclen", "boyer-moore-horspool", "quick-search", "string", "search"]
Expand Down

0 comments on commit 2eef70c

Please sign in to comment.