Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1name: "Check shell"
2
3on:
4 pull_request:
5 paths:
6 - .github/workflows/check-shell.yml
7 pull_request_target:
8 paths:
9 - 'shell.nix'
10 - 'ci/**'
11
12permissions: {}
13
14jobs:
15 shell-check:
16 strategy:
17 fail-fast: false
18 matrix:
19 include:
20 - runner: ubuntu-24.04
21 system: x86_64-linux
22 - runner: ubuntu-24.04-arm
23 system: aarch64-linux
24 - runner: macos-13
25 system: x86_64-darwin
26 - runner: macos-14
27 system: aarch64-darwin
28
29 name: shell-check-${{ matrix.system }}
30 runs-on: ${{ matrix.runner }}
31
32 steps:
33 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34 with:
35 ref: refs/pull/${{ github.event.pull_request.number }}/merge
36
37 - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
38
39 - name: Build shell
40 run: nix-build ci -A shell