Skip to content

Commit 75e79f1

Browse files
committed
wrap in retry
1 parent cfcff4f commit 75e79f1

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci_zig.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,15 @@ jobs:
219219
git reset --hard HEAD
220220
nix develop ./src/ -c zig build && zig build snapshot && zig build test
221221
222+
222223
- name: Test nix package
223224
if: ${{ runner.os == 'Linux' || (runner.os == 'macOS' && runner.arch != 'X64') }}
224-
run: |
225-
nix build ./src/#roc
226-
./result/bin/roc check src/PROFILING/bench_repeated_check.roc
225+
uses: ./.github/actions/flaky-retry
226+
with:
227+
command: 'nix build ./src/#roc && ./result/bin/roc check src/PROFILING/bench_repeated_check.roc'
228+
error_string_contains: 'TemporaryNameServerFailure'
229+
retry_count: 3
230+
227231

228232
zig-cross-compile:
229233
needs: check-once

0 commit comments

Comments
 (0)