chore(deps): lock file maintenance (flake.nix) #5149
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: | |
| pull_request: | |
| merge_group: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| arch: x86_64-linux | |
| - os: ubuntu-24.04-arm | |
| arch: aarch64-linux | |
| - os: macos-15-intel | |
| arch: x86_64-darwin | |
| - os: macos-15 | |
| arch: aarch64-darwin | |
| name: Build Nix - ${{ matrix.arch }}.${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| persist-credentials: false | |
| - name: Setup git lfs | |
| uses: ./.github/actions/setup-git-lfs | |
| - uses: cachix/install-nix-action@ab739621df7a23f52766f9ccc97f38da6b7af14f # v31.10.5 | |
| with: | |
| install_url: https://releases.nixos.org/nix/nix-2.18.8/install | |
| extra_nix_config: | | |
| access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
| - uses: cachix/cachix-action@3ba601ff5bbb07c7220846facfa2cd81eeee15a1 # v16 | |
| with: | |
| name: unblob | |
| authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
| extraPullNames: pyperscan | |
| - run: | | |
| nix flake check -L |