Skip to content

transitland update #1022

transitland update

transitland update #1022

Workflow file for this run

on: [push, pull_request]
name: Clippy check
jobs:
clippy_check:
permissions:
security-events: write
checks: write
contents: read
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
run: sudo apt install -y protobuf-compiler
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- uses: Swatinem/rust-cache@v1
- run: cargo install clippy-sarif sarif-fmt
- run: cargo clippy --all-targets --all-features --message-format=json |
clippy-sarif | tee results.sarif | sarif-fmt
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
category: Rust Clippy