Fix invalid directory decompression caused by old zip crate version #37
Workflow file for this run
This file contains hidden or 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: Check | |
on: | |
pull_request: | |
jobs: | |
clippy: | |
name: Clippy | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Restore cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: Install clippy-sarif | |
run: cargo install clippy-sarif sarif-fmt | |
- name: Run clippy | |
run: > | |
cargo clippy --workspace --all-features --all --message-format=json | |
| clippy-sarif | |
| tee clippy-results.sarif | |
| sarif-fmt | |
continue-on-error: true | |
- name: Upload and submit SARIF | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: clippy-results.sarif | |
wait-for-processing: true |