2024-06-26 01:07:09 +02:00
|
|
|
name: "Check shell"
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
|
|
|
|
permissions: {}
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
x86_64-linux:
|
2024-08-01 05:28:40 +02:00
|
|
|
name: shell-check-x86_64-linux
|
2024-06-26 01:07:09 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-06-30 00:01:52 +02:00
|
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
2024-06-26 01:07:09 +02:00
|
|
|
with:
|
|
|
|
# pull_request_target checks out the base branch by default
|
|
|
|
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
2024-07-22 22:04:12 +02:00
|
|
|
- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
|
2024-06-26 01:07:09 +02:00
|
|
|
- name: Build shell
|
|
|
|
run: nix-build shell.nix
|
|
|
|
|
|
|
|
aarch64-darwin:
|
2024-08-01 05:28:40 +02:00
|
|
|
name: shell-check-aarch64-darwin
|
2024-06-26 01:07:09 +02:00
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
2024-06-30 00:01:52 +02:00
|
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
2024-06-26 01:07:09 +02:00
|
|
|
with:
|
|
|
|
# pull_request_target checks out the base branch by default
|
|
|
|
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
2024-07-22 22:04:12 +02:00
|
|
|
- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
|
2024-06-26 01:07:09 +02:00
|
|
|
- name: Build shell
|
|
|
|
run: nix-build shell.nix
|