Skip to content

Commit b139046

Browse files
committed
Add 5 minute timeout to individual workflow steps.
1 parent 0137573 commit b139046

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/bench.yml

+2
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ jobs:
3434
run: go install golang.org/x/perf/cmd/benchstat@latest
3535

3636
- name: Run Benchmark (previous)
37+
timeout-minutes: 5
3738
run: |
3839
cd previous
3940
go test -bench=. -benchmem -benchtime=100ms -count=10 ./... > benchmark.txt
4041
4142
- name: Run Benchmark (new)
43+
timeout-minutes: 5
4244
run: |
4345
cd new
4446
go test -bench=. -benchmem -benchtime=100ms -count=10 ./... > benchmark.txt

0 commit comments

Comments
 (0)