name: Nix on Linux on: push: branches: - main pull_request: permissions: read-all jobs: nix: strategy: fail-fast: false matrix: os: [ ubuntu-latest ] mode: [ "flake check", "build" ] runs-on: ${{ matrix.os }} name: nix-build timeout-minutes: 20 steps: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 with: fetch-depth: 0 - uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac with: extra_nix_config: | experimental-features = nix-command flakes - run: nix ${{ matrix.mode }} --print-build-logs --show-trace