chore(deps): update rust crate clap to v4.6.6 #64
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: Nix | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - flake.nix | |
| - flake.lock | |
| - Cargo.toml | |
| - Cargo.lock | |
| - .github/workflows/nix.yml | |
| pull_request: | |
| paths: | |
| - flake.nix | |
| - flake.lock | |
| - Cargo.toml | |
| - Cargo.lock | |
| - .github/workflows/nix.yml | |
| jobs: | |
| format: | |
| name: Check Nix formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Install Nix | |
| uses: DeterminateSystems/nix-installer-action@main | |
| - name: Check formatting with Alejandra | |
| run: nix run nixpkgs#alejandra -- --check . | |
| nix-build: | |
| name: Nix Flake Build | |
| runs-on: ubuntu-latest | |
| needs: [format] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Install Nix | |
| uses: DeterminateSystems/nix-installer-action@main | |
| - name: Enable Nix cache | |
| uses: DeterminateSystems/magic-nix-cache-action@main | |
| with: | |
| use-flakehub: false | |
| - name: Check flake | |
| run: nix flake check | |
| - name: Build default package | |
| run: nix build | |
| - name: Check devShell | |
| run: nix develop --command true |