diff options
author | rtkay123 <dev@kanjala.com> | 2025-08-19 08:21:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-19 08:21:13 +0200 |
commit | 8fc20a2229fa3d5322e838f9bb0eec817d56fada (patch) | |
tree | cf633654efbd23d8535662b9c08bc95a579c4173 | |
parent | a0ef01ecbd5f4892adb48c61a85a4c9e79d4fb57 (diff) | |
download | warden-8fc20a2229fa3d5322e838f9bb0eec817d56fada.tar.bz2 warden-8fc20a2229fa3d5322e838f9bb0eec817d56fada.zip |
-rw-r--r-- | .github/workflows/ci.yaml | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c0e4335..c13f63e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,16 +31,33 @@ jobs: uses: arduino/setup-protoc@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - - name: Check - run: > - cargo clippy --workspace --all-features --all-targets --message-format=json - | clippy-sarif - | tee clippy-results.sarif - | sarif-fmt - - name: Upload + - name: Run rust-clippy + run: + cargo clippy + --workspace + --all-features + --message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt + continue-on-error: true + - name: Upload analysis results to GitHub uses: github/codeql-action/upload-sarif@v3 with: - sarif_file: clippy-results.sarif + sarif_file: rust-clippy-results.sarif + wait-for-processing: true + + + fmt: + runs-on: ubuntu-latest + name: stable / fmt + steps: + - uses: actions/checkout@v5 + with: + submodules: true + - name: Install stable + uses: dtolnay/rust-toolchain@stable + with: + components: rustfmt + - name: cargo fmt --check + run: cargo fmt --check os-check: runs-on: ${{ matrix.os }} |