ci(nix): use nix profile install instead of nix develop #93
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: "CI: Flake check" | |
| on: | |
| push: | |
| paths: | |
| - "flake.nix" | |
| - "flake.lock" | |
| - ".github/workflows/nix-flake.yaml" | |
| - ".github/actions/setup-nix/**" | |
| pull_request: | |
| paths: | |
| - "flake.nix" | |
| - "flake.lock" | |
| - ".github/workflows/nix-flake.yaml" | |
| - ".github/actions/setup-nix/**" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| # Check flake syntax and structure | |
| flake-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Install Nix | |
| uses: cachix/install-nix-action@0b0e072294b088b73964f1d72dfdac0951439dbd # v31.8.4 | |
| with: | |
| github_access_token: ${{ github.token }} | |
| - name: Check flake | |
| run: nix flake check --all-systems --print-build-logs --show-trace |