-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #423 from Ogeon/msrv_split
Have a min and max MSRV (1.61.0 - 1.63.0)
- Loading branch information
Showing
9 changed files
with
55 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,8 @@ on: | |
name: Continuous integration | ||
|
||
jobs: | ||
compile_and_test_msrv: | ||
name: Compile and test MSRV | ||
compile_and_test_min_msrv: | ||
name: Compile and test min MSRV | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
|
@@ -24,9 +24,26 @@ jobs: | |
- uses: dtolnay/[email protected] | ||
with: | ||
components: clippy | ||
- uses: taiki-e/install-action@cargo-hack | ||
- name: Minimal check | ||
run: cargo clippy -v -p palette --no-default-features --features std | ||
run: cargo clippy -v -p palette --no-default-features --features "std" | ||
- name: Default check | ||
run: cargo clippy -v -p palette | ||
- name: Default tests | ||
run: cargo test -v -p palette | ||
compile_and_test_max_msrv: | ||
name: Compile and test max MSRV | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
RUSTFLAGS: -D warnings | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/[email protected] | ||
with: | ||
components: clippy | ||
- uses: taiki-e/install-action@cargo-hack | ||
- name: find-crate check | ||
run: cargo clippy -v -p palette --no-default-features --features "std find-crate" | ||
- name: Default check | ||
|
@@ -115,7 +132,8 @@ jobs: | |
name: ci | ||
if: success() | ||
needs: | ||
- compile_and_test_msrv | ||
- compile_and_test_min_msrv | ||
- compile_and_test_max_msrv | ||
- integration_tests | ||
- check_stable_beta_nightly | ||
- no_std | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters