diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eeba953e..7862b969 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/Cargo.toml b/Cargo.toml index ba8ba2fc..0ee6911c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,7 @@ version = "0.9.5" authors = ["Raph Levien "] 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"