Skip to content

Commit

Permalink
Merge pull request #295 from waywardmonkeys/msrv
Browse files Browse the repository at this point in the history
ci/Cargo.toml: Specify and test MSRV.
  • Loading branch information
waywardmonkeys committed Jul 11, 2023
2 parents a5064ef + acea3e8 commit 4a4e58b
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 4a4e58b

Please sign in to comment.