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