Skip to content

Commit

Permalink
ci: provide a timeout for the tests
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Ege <[email protected]>
  • Loading branch information
graugans committed Dec 25, 2023
1 parent 1ea421d commit 1102800
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- run: go test -v ./...
go-version: '1.21'
- run: go test -v -cover -timeout=1m ./...

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'

- name: Install dependencies
run: go get -d ./...
Expand All @@ -63,7 +63,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'
- uses: go-semantic-release/action@v1
with:
hooks: goreleaser
Expand Down

0 comments on commit 1102800

Please sign in to comment.