Skip to content

Commit 5f0512e

Browse files
Copilotbrunoborges
andcommitted
Fix proof workflow: replace ((var++)) with safe arithmetic to avoid bash -e exit
Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
1 parent a79aec0 commit 5f0512e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/proof.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
name="${script#proof/}"
3838
if jbang "$script" > /dev/null 2>&1; then
3939
echo "✅ $name"
40-
((passed++))
40+
passed=$((passed + 1))
4141
else
4242
echo "❌ $name"
4343
failures+=("$name")
44-
((failed++))
44+
failed=$((failed + 1))
4545
fi
4646
done < <(find proof -name '*.java' -print0 | sort -z)
4747

0 commit comments

Comments
 (0)