run tests with race detector enabled

Signed-off-by: Alan Chung Ma <alan@chung-ma.com>
This commit is contained in:
Alan Chung Ma 2025-05-02 17:38:28 -04:00
parent 98afeeb543
commit 939cbf6031
2 changed files with 2 additions and 2 deletions

View file

@ -26,4 +26,4 @@ jobs:
go-version: ${{ matrix.go-version }}
cache: true
- name: Test
run: go test -timeout 20m ./...
run: go test -race -timeout 20m ./...

View file

@ -33,7 +33,7 @@ else
endif
test :
go test -timeout 20m -v ./...
go test -race -timeout 20m -v ./...
fmt :
go fmt ./...