Skip to content

Commit 77e2248

Browse files
committed
chore: harden CI per review (drop accept-flake-config, fail-fast scripts/build, run test via bash)
1 parent 0a38655 commit 77e2248

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@ jobs:
1414
- uses: cachix/install-nix-action@v27
1515
with:
1616
extra_nix_config: |
17-
accept-flake-config = true
1817
extra-substituters = https://cache.iog.io https://purescript-lua.cachix.org
1918
extra-trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= purescript-lua.cachix.org-1:yLs4ei2HtnuPtzLekOrW3xdfm95+Etw15gwgyIGTayA=
2019
2120
- name: Build
2221
run: nix develop -c ./scripts/build
2322

2423
- name: Test
25-
run: if [ -f scripts/test ]; then nix develop -c ./scripts/test; fi
24+
run: if [ -f scripts/test ]; then nix develop -c bash ./scripts/test; fi
2625

2726
- name: Luacheck
2827
run: nix develop -c luacheck --quiet --std lua51 --no-unused-args src/

scripts/build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
set -euo pipefail
23

34
echo "Building..."
45

0 commit comments

Comments
 (0)