Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci/Cargo.toml: Specify and test MSRV. #295

Merged
merged 1 commit into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
waywardmonkeys marked this conversation as resolved.
Show resolved Hide resolved

- 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