fix(deps): update rust crate octocrab to 0.42.0 #14
Workflow file for this run
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] | |
paths: | |
- 'Cargo.toml' | |
- 'Cargo.lock' | |
- '**.rs' | |
pull_request: | |
paths: | |
- 'Cargo.toml' | |
- 'Cargo.lock' | |
- '**.rs' | |
workflow_dispatch: | |
jobs: | |
clippy: | |
name: Run scan | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v16 | |
- name: Setup Nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@v8 | |
- name: Generate sarif report | |
id: clippy-run | |
run: | | |
nix build --print-build-logs .#clippy-report | |
[ -L result ] || exit 1 | |
echo "sarif-file=$(readlink -f result)" >> "$GITHUB_OUTPUT" | |
- name: Upload results | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: ${{ steps.clippy-run.outputs.sarif-file }} | |
wait-for-processing: true |