Skip to content

Commit

Permalink
ci/Cargo.toml: Specify and test MSRV.
Browse files Browse the repository at this point in the history
The MSRV was specified in the README.md, so we can also specify
it in the standard location and validate it via CI on Linux.
  • Loading branch information
waywardmonkeys committed Jul 10, 2023
1 parent a5064ef commit acea3e8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,20 @@ jobs:
- name: cargo test compile
run: cargo test --all-features --no-run --target wasm32-unknown-unknown

test-msrv:
runs-on: ubuntu-latest
name: cargo test msrv
steps:
- uses: actions/checkout@v3

- name: install msrv toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.65"

- name: cargo test
run: cargo test --all-features

test-nightly:
runs-on: ${{ matrix.os }}
strategy:
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.9.5"
authors = ["Raph Levien <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2021"
rust-version = "1.65" # When updating this, also update the README.md and CI.
keywords = ["graphics", "curve", "curves", "bezier", "geometry"]
repository = "https://github.com/linebender/kurbo"
description = "A 2D curves library"
Expand Down

0 comments on commit acea3e8

Please sign in to comment.