This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: match GitHub Actions from main
- Loading branch information
1 parent
86460b2
commit b856e06
Showing
4 changed files
with
62 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Check - Legacy v2 | ||
|
||
on: | ||
push: | ||
branches: ["legacy/v2"] | ||
pull_request: | ||
branches: ["legacy/v2"] | ||
workflow_dispatch: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
RUST_VERSION: "1.75" | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Rust ${{ env.RUST_VERSION }} | ||
run: rustup install ${{ env.RUST_VERSION }} | ||
- name: Set Rust ${{ env.RUST_VERSION }} as default | ||
run: rustup default ${{ env.RUST_VERSION }} | ||
- name: Check with default features | ||
run: cargo check --config 'build.rustflags = ["-Dwarnings"]' | ||
- name: Check with all features | ||
run: cargo check --config 'build.rustflags = ["-Dwarnings"]' --all-features | ||
- name: Install Clippy | ||
run: rustup component add clippy | ||
- name: Run Clippy with default features | ||
run: cargo clippy --config 'build.rustflags = ["-Dwarnings"]' | ||
- name: Run Clippy with all features | ||
run: cargo clippy --config 'build.rustflags = ["-Dwarnings"]' --all-features |
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
RUST_VERSION: "1.75" | ||
RUST_VERSION: "1.78" | ||
|
||
jobs: | ||
check: | ||
|
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Test - Legacy v2 | ||
|
||
on: | ||
push: | ||
branches: ["legacy/v2"] | ||
pull_request: | ||
branches: ["legacy/v2"] | ||
workflow_dispatch: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
RUST_VERSION: "1.75" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Rust ${{ env.RUST_VERSION }} | ||
run: rustup install ${{ env.RUST_VERSION }} | ||
- name: Set Rust ${{ env.RUST_VERSION }} as default | ||
run: rustup default ${{ env.RUST_VERSION }} | ||
- name: Test with default features | ||
run: cargo test | ||
- name: Test with all features | ||
run: cargo test --all-features |
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
RUST_VERSION: "1.75" | ||
RUST_VERSION: "1.78" | ||
|
||
jobs: | ||
test: | ||
|