From b2bcf67ec631b15bfcb46cf8a8be89005bd652ee Mon Sep 17 00:00:00 2001 From: NovusEdge Date: Sun, 6 Sep 2026 21:07:28 +0300 Subject: [PATCH] ci: stop the test run at the first failure Signed-off-by: NovusEdge --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 803fad6b..3c06f71f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,8 +32,11 @@ jobs: run: go vet ./... - name: build run: go build ./... + # go test already runs packages in parallel. -failfast stops the run at + # the first failing test, so a broken commit reports in seconds rather + # than after the whole suite. - name: test - run: go test ./... + run: go test -failfast ./... lint: name: lint