blob: 142b405408e9bbe0bb1e5f7d30f6da9e452242d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
name: Nix
on:
pull_request:
types: [opened, synchronize, reopened]
paths-ignore:
- "website/**"
- "docs/**"
- "**/*.md"
push:
branches: [master]
paths-ignore:
- "website/**"
- "docs/**"
- "**/*.md"
permissions:
contents: read
concurrency:
group: nix-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
flake-check:
name: flake check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install Nix
uses: cachix/install-nix-action@8aa03977d8d733052d78f4e008a241fd1dbf36b3 # v31.10.6
with:
extra_nix_config: |
experimental-features = nix-command flakes
always-allow-substitutes = true
- name: Run Nix flake check
run: |
nix flake check --print-build-logs
nix flake check --all-systems --no-build --print-build-logs
|