From 8a43f7b54a9bffb060d11e70deb70666474cfc2f Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Tue, 27 Feb 2024 17:47:11 +1100 Subject: [PATCH] Add timeout to Go CI test --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 67e68636..ff6f1ec7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -53,7 +53,7 @@ jobs: steps: - uses: actions/checkout@v2 - uses: ./.github/actions/go-common - - run: GOARCH=386 go test $(go list ./... | grep -v /possum) + - run: GOARCH=386 go test -timeout 1m $(go list ./... | grep -v /possum) continue-on-error: true - run: GOARCH=386 go test -run @ -bench . $(go list ./... | grep -v /possum) -- 2.48.1