Merge pull request #82 from phaazon/edition-2021

Edition 2021
This commit is contained in:
Dimitri Sabadie 2022-03-22 20:20:01 +01:00 committed by GitHub
commit f4c8be33b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 20 deletions

View File

@ -6,38 +6,22 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Build
run: |
cargo build --verbose --all-features
- name: Test - name: Test
run: | run: cargo test --verbose --all-features
cargo test --verbose --all-features
build-windows: build-windows:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Build
run: |
cargo build --verbose --all-features
- name: Test - name: Test
run: | run: cargo test --verbose --all-features
cargo test --verbose --all-features
build-macosx: build-macosx:
runs-on: macOS-latest runs-on: macOS-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Rust requirements
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal
- name: Build
run: |
. ~/.cargo/env
cargo build --verbose --all-features
- name: Test - name: Test
run: | run: cargo test --verbose --all-features
. ~/.cargo/env
cargo test --verbose --all-features
quality: quality:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -11,7 +11,7 @@ repository = "https://github.com/phaazon/splines"
documentation = "https://docs.rs/splines" documentation = "https://docs.rs/splines"
readme = "README.md" readme = "README.md"
edition = "2018" edition = "2021"
[badges] [badges]
travis-ci = { repository = "phaazon/splines", branch = "master" } travis-ci = { repository = "phaazon/splines", branch = "master" }