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.
This commit is contained in:
CPunch 2023-12-01 14:10:45 -06:00
parent 66fe3c9738
commit 0ed19ad6c5

View File

@ -23,4 +23,4 @@ jobs:
with: with:
go-version: '1.21.x' go-version: '1.21.x'
- name: Test with the Go CLI - name: Test with the Go CLI
run: go test -v ./... run: go test -timeout 10s -v ./...