2024-07-01 15:47:52 +00:00
|
|
|
name: "Check shell"
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
|
|
|
|
permissions: {}
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
x86_64-linux:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
|
|
with:
|
|
|
|
# pull_request_target checks out the base branch by default
|
|
|
|
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
2024-07-27 06:49:29 +00:00
|
|
|
- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
|
2024-07-01 15:47:52 +00:00
|
|
|
- name: Build shell
|
|
|
|
run: nix-build shell.nix
|
|
|
|
|
|
|
|
aarch64-darwin:
|
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
|
|
with:
|
|
|
|
# pull_request_target checks out the base branch by default
|
|
|
|
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
2024-07-27 06:49:29 +00:00
|
|
|
- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
|
2024-07-01 15:47:52 +00:00
|
|
|
- name: Build shell
|
|
|
|
run: nix-build shell.nix
|