-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: bump Rust version and resolve clippy issues (#160)
* build: bump Rust version and update dependencies * chore: resolve all reported Clippy issues * build: use the correct Toolchain version * ci: update GitHub Workflows to use valid actions * ci: add permissions to `clippy_check` * chore(GH-160): bump dependencies and disable `thread_local_initializer_can_be_made_const` lint * chore(GH-160): try fixing `thread_local_initializer_can_be_made_const` * fix(GH-160): `serialized-stdlib` feature * ci(GH-160): fix `Test Suite` * fix(GH-160): resolve `insta` deprecation * ci(GH-160): add formatting check job * ci(GH-160): reorganize jobs * style(GH-160): fix formatting * build(GH-160): fix `#[cfg(never)]` * build(GH-160): `#[allow(dead_code)]` on `FinishedRanger::end_token` * build(GH-160): allow more dead code * test(GH-160): fix `golden.rs`
- Loading branch information
1 parent
ad68a24
commit c5b983e
Showing
25 changed files
with
348 additions
and
401 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,25 @@ | ||
name: Checks | ||
on: [ pull_request ] | ||
jobs: | ||
tests: | ||
name: Tests | ||
uses: ./.github/workflows/test.yaml | ||
lints: | ||
name: Lints | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.4 | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1.8.0 | ||
- uses: auguwu/clippy-action@1.3.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
permissions: | ||
checks: write | ||
formatting: | ||
name: Formatting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.4 | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1.8.0 | ||
- uses: actions-rust-lang/rustfmt@v1.1.0 | ||
|
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Test | ||
on: [ workflow_call ] | ||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.4 | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1.8.0 | ||
- run: cargo test --all | ||
test-stable: | ||
name: Test on stable | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.4 | ||
- name: Install the latest stable toolchain | ||
uses: actions-rust-lang/setup-rust-toolchain@v1.8.0 | ||
with: | ||
toolchain: stable | ||
- run: cargo test --all | ||
|
Oops, something went wrong.