From 0ed19ad6c57d53eb436970ab3b18bd222060fe92 Mon Sep 17 00:00:00 2001 From: CPunch Date: Fri, 1 Dec 2023 14:10:45 -0600 Subject: [PATCH] tests workflow: add timeout some of the tests can fail in really bad, slow ways. make sure we don't spin our wheels waiting for a failed test to never fail. --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index e00f702..574bf12 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -23,4 +23,4 @@ jobs: with: go-version: '1.21.x' - name: Test with the Go CLI - run: go test -v ./... + run: go test -timeout 10s -v ./...