chore(deps): bump serde from 1.0.215 to 1.0.216 (#288) #289
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
on: | |
push: | |
branches: | |
- main | |
name: sarif | |
jobs: | |
upload-sarif: | |
runs-on: ubuntu-latest | |
if: ${{ github.ref == 'refs/heads/main' }} | |
steps: | |
- uses: actions/checkout@v2 | |
name: Checkout 🛎️ | |
- uses: actions-rs/toolchain@v1 | |
name: Setup Cargo Toolchain 🛎️ | |
with: | |
components: clippy | |
toolchain: stable | |
override: true | |
- uses: Swatinem/rust-cache@v1 | |
- run: cargo install --locked clippy-sarif | |
name: Install clippy-sarif 🛎️ | |
- run: | |
cargo clippy --all-targets --message-format=json | clippy-sarif > results.sarif | |
name: Run Clippy Lints 🔨 | |
- uses: github/codeql-action/upload-sarif@v1 | |
name: Upload SARIF file 🚀 | |
with: | |
sarif_file: results.sarif |