diff options
author | rtkay123 <dev@kanjala.com> | 2025-08-18 22:29:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-18 22:29:05 +0200 |
commit | 9c1aff826590c66bacfb6b6b9c0c65c839783383 (patch) | |
tree | fcabd15079fd014a7c8a2115444303bf9323d702 /.github | |
parent | 60e0003ebb26ba31075ba047b6d15af1a4f29bbb (diff) | |
download | warden-9c1aff826590c66bacfb6b6b9c0c65c839783383.tar.bz2 warden-9c1aff826590c66bacfb6b6b9c0c65c839783383.zip |
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8183a72..64e9601 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,6 +12,34 @@ concurrency: name: ci jobs: + clippy: + runs-on: ubuntu-latest + name: beta / clippy + steps: + - uses: actions/checkout@v5 + with: + submodules: true + - uses: dtolnay/rust-toolchain@master + with: + toolchain: beta + components: clippy,rustfmt + - uses: Swatinem/rust-cache@v2 + - run: cargo install clippy-sarif sarif-fmt + - name: install protoc + 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 + uses: github/codeql-action/upload-sarif@v3 + with: + sarif_file: clippy-results.sarif + os-check: runs-on: ${{ matrix.os }} name: ${{ matrix.os }} / stable |