Skip to content
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

Enable Error Annotation for CI Errors #22

Merged
merged 4 commits into from
Jan 18, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
CARGO_TERM_COLOR: always
JAVA_VERSION: 23

permissions:
checks: write

jobs:
style_rustfmt:
name: Style / rustfmt
Expand All @@ -35,18 +38,13 @@
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: corretto
- uses: actions/checkout@v4
name: Checkout source code
- name: Check code formatting with rustfmt
run: cargo fmt --check
uses: actions-rust-lang/rustfmt@v1
Dismissed Show dismissed Hide dismissed

style_clippy_check:
name: Style / clippy & check
name: Style / clippy
runs-on: ubuntu-latest
steps:
- name: Setup Rust
Expand All @@ -62,10 +60,12 @@
name: Checkout source code
- name: Restore Rust Build Cache
uses: Leafwing-Studios/cargo-cache@v2
- run: cargo check --all-targets --all-features --verbose
name: Cargo check
- name: Run clippy
run: cargo clippy --no-deps --all-targets --all-features -- -D warnings
uses: auguwu/[email protected]
Dismissed Show dismissed Hide dismissed
with:
check-args: --all-targets --all-features --verbose
args: -D warnings
token: ${{secrets.GITHUB_TOKEN}}

unit_test:
name: Test / unit
Expand Down
Loading