-
Notifications
You must be signed in to change notification settings - Fork 0
ci: add root workspace rust checks #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
0c913fe
chore: remove nested plugin automation
thlorenz 1856ded
chore: move rustfmt config to root
thlorenz a9e8cc0
chore: format workspace rust code
thlorenz 8298771
ci: add root workspace test workflow
thlorenz bb4fc82
docs: align local checks with ci
thlorenz 5eb2ed2
ci: limit workflow triggers to master
thlorenz 31cf253
ci: use cargo test in workflow
thlorenz a4af6b6
ci: limit clippy to workspace code
thlorenz 99c2d82
ci: install curl headers for clippy
thlorenz 89b5d66
chore: use Swatinem/rust-cache@v2 in CI
thlorenz 4c7e644
chore: align Makefile check with CI
thlorenz 5e043e2
docs: align README CI contract with workflow
thlorenz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,45 @@ | ||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| pull_request: | ||
| branches: | ||
| - master | ||
|
|
||
| env: | ||
| CARGO_TERM_COLOR: always | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
|
|
||
| - name: Install Rust | ||
| uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
|
|
||
| - name: Install build requirements | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get install -y \ | ||
| libcurl4-openssl-dev \ | ||
| gnupg \ | ||
| libudev-dev \ | ||
| libsasl2-dev \ | ||
| libssl-dev \ | ||
| libzstd-dev | ||
| sudo apt-get satisfy -f -y "protobuf-compiler (>=3.15)" | ||
|
|
||
| - uses: Swatinem/rust-cache@v2 | ||
|
|
||
| - name: cargo fmt | ||
| run: cargo fmt --all -- --check | ||
|
|
||
| - name: cargo clippy | ||
| run: cargo clippy --workspace --all-targets --no-deps -- -D warnings | ||
|
|
||
| - name: cargo build | ||
| run: cargo build --workspace | ||
|
|
||
| - name: cargo test | ||
| run: cargo test --workspace -- --test-threads=16 |
This file contains hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.