Skip to content

Commit

Permalink
Update health.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jancajthaml authored Mar 10, 2023
1 parent 3f23669 commit 4209f39
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/health.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,22 @@ jobs:
steps:

- name: Prepare
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.20
go-version: '1.20'
id: go

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Unit Test
env:
GOMAXPROCS: 1
run: |
GOMAXPROCS=1 go test -v ./... -timeout=2m
go test -v ./... -timeout=2m
- name: Benchmarck Test
env:
GOMAXPROCS: 1
run: |
GOMAXPROCS=1 go test -v ./... -run=^$ -bench=. -benchmem -timeout=2m
go test -v ./... -run=^$ -bench=. -benchmem -timeout=2m

0 comments on commit 4209f39

Please sign in to comment.