Skip to content

Commit

Permalink
Update MSRV to 1.62 due to dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeisler committed Jun 28, 2024
1 parent e710bfd commit 6aef5c4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
name: Ubuntu
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust:
- stable
Expand Down Expand Up @@ -66,6 +67,7 @@ jobs:
name: Minimum supported Rust version
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
features:
- no default features
Expand All @@ -75,8 +77,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Rust 1.56 # MSRV from Cargo.toml
run: rustup default 1.56
- name: Find Minimum Support Rust Version
run: |
echo "msrv=$(egrep 'rust-version\s*=\s*"([0-9.]+)"' Cargo.toml | cut -d '"' -f 2)" >> "$GITHUB_ENV"
- name: Install Rust ${{ env.msrv }} (MSRV)
run: rustup default $msrv

- uses: Swatinem/rust-cache@v2

Expand Down Expand Up @@ -124,6 +130,7 @@ jobs:
name: Fuzz test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
fuzz-target:
- fill_first_fit
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
name: Generate coverage
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
features:
- no-default-features
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords = ["text", "formatting", "wrap", "typesetting", "hyphenation"]
categories = ["text-processing", "command-line-interface"]
license = "MIT"
edition = "2021"
rust-version = "1.56"
rust-version = "1.62"
exclude = [".github/", ".gitignore", "benchmarks/", "examples/", "fuzz/", "images/"]

[[example]]
Expand Down

0 comments on commit 6aef5c4

Please sign in to comment.