build(deps): bump clap from 4.5.21 to 4.5.23 (#102) #293
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: Check | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
clippy: | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Setup Nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Check | |
run: nix build --fallback --print-build-logs '.#checks.x86_64-linux.clippy' | |
- name: Upload analysis results | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: result | |
wait-for-processing: true | |
rustfmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Setup Nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Check | |
run: nix build --fallback --print-build-logs '.#checks.x86_64-linux.rustfmt' | |
nixfmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Setup Nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Check | |
run: nix build --fallback --print-build-logs '.#checks.x86_64-linux.nixfmt' |