feat: support more filter for Get-Jobs
#284
This file contains 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
name: Clippy | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: '23 8 * * 6' | |
workflow_dispatch: | |
jobs: | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
components: clippy | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install clippy-sarif | |
run: cargo install clippy-sarif | |
- name: Analyse | |
run: | |
cargo clippy --all-targets --all-features --message-format=json | clippy-sarif > clippy.sarif | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: clippy.sarif |