Skip to content

Commit 845b173

Browse files
committed
Configure Nix sandbox for GitHub Actions
Add filter-syscalls = false to allow script execution in tests
1 parent 4246707 commit 845b173

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build-and-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ jobs:
1212

1313
- name: Install Nix
1414
uses: DeterminateSystems/nix-installer-action@main
15+
with:
16+
extra-conf: |
17+
sandbox = true
18+
filter-syscalls = false
1519
1620
- name: Build with Nix
17-
run: nix-build
21+
run: nix-build --show-trace
1822

1923
- name: Test Nix binary
2024
run: |

0 commit comments

Comments
 (0)