Skip to content

Clippy analysis

Clippy analysis #772

Workflow file for this run

name: Clippy analysis
on:
push:
schedule:
- cron: '15 2 * * 1'
jobs:
analyze:
name: Analysis
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
- uses: swatinem/rust-cache@v2
- run: cargo install clippy-sarif sarif-fmt
- name: Run clippy
run: >
cargo clippy
--all-features
--message-format=json | clippy-sarif | tee results.sarif | sarif-fmt
continue-on-error: true
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
wait-for-processing: true