Annotation For .github/workflows/rust-clippy.yml
Logged in as anonymous

Origin for each line in .github/workflows/rust-clippy.yml from check-in 2283656bf6:

c4797b7b7c 2024-08-11    1: # This workflow uses actions that are not certified by GitHub.
c4797b7b7c 2024-08-11    2: # They are provided by a third-party and are governed by
c4797b7b7c 2024-08-11    3: # separate terms of service, privacy policy, and support
c4797b7b7c 2024-08-11    4: # documentation.
c4797b7b7c 2024-08-11    5: # rust-clippy is a tool that runs a bunch of lints to catch common
c4797b7b7c 2024-08-11    6: # mistakes in your Rust code and help improve your Rust code.
c4797b7b7c 2024-08-11    7: # More details at https://github.com/rust-lang/rust-clippy
c4797b7b7c 2024-08-11    8: # and https://rust-lang.github.io/rust-clippy/
c4797b7b7c 2024-08-11    9: 
c4797b7b7c 2024-08-11   10: name: rust-clippy analyze
c4797b7b7c 2024-08-11   11: 
c4797b7b7c 2024-08-11   12: on:
2283656bf6 2024-08-11   13:   push:
2283656bf6 2024-08-11   14:     branches: [ "master" ]
2283656bf6 2024-08-11   15:   pull_request:
2283656bf6 2024-08-11   16:     # The branches below must be a subset of the branches above
2283656bf6 2024-08-11   17:     branches: [ "master" ]
2283656bf6 2024-08-11   18:   schedule:
2283656bf6 2024-08-11   19:     - cron: '43 14 * * 2'
c4797b7b7c 2024-08-11   20: 
c4797b7b7c 2024-08-11   21: jobs:
2283656bf6 2024-08-11   22:   rust-clippy-analyze:
2283656bf6 2024-08-11   23:     name: Run rust-clippy analyzing
2283656bf6 2024-08-11   24:     runs-on: ubuntu-latest
2283656bf6 2024-08-11   25:     permissions:
2283656bf6 2024-08-11   26:       contents: read
2283656bf6 2024-08-11   27:       security-events: write
2283656bf6 2024-08-11   28:       actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
2283656bf6 2024-08-11   29:     steps:
2283656bf6 2024-08-11   30:       - name: Checkout code
2283656bf6 2024-08-11   31:         uses: actions/checkout@v4
2283656bf6 2024-08-11   32: 
2283656bf6 2024-08-11   33:       - name: Install Rust toolchain
2283656bf6 2024-08-11   34:         uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1
2283656bf6 2024-08-11   35:         with:
2283656bf6 2024-08-11   36:           profile: minimal
2283656bf6 2024-08-11   37:           toolchain: stable
2283656bf6 2024-08-11   38:           components: clippy
2283656bf6 2024-08-11   39:           override: true
2283656bf6 2024-08-11   40: 
2283656bf6 2024-08-11   41:       - name: Install required cargo
2283656bf6 2024-08-11   42:         run: cargo install clippy-sarif sarif-fmt
2283656bf6 2024-08-11   43: 
2283656bf6 2024-08-11   44:       - name: Run rust-clippy
2283656bf6 2024-08-11   45:         run:
2283656bf6 2024-08-11   46:           cargo clippy
2283656bf6 2024-08-11   47:           --all-features
2283656bf6 2024-08-11   48:           --message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
2283656bf6 2024-08-11   49:         continue-on-error: true
2283656bf6 2024-08-11   50: 
2283656bf6 2024-08-11   51:       - name: Upload analysis results to GitHub
2283656bf6 2024-08-11   52:         uses: github/codeql-action/upload-sarif@v3
2283656bf6 2024-08-11   53:         with:
2283656bf6 2024-08-11   54:           sarif_file: rust-clippy-results.sarif
2283656bf6 2024-08-11   55:           wait-for-processing: true