Test: add race detector

ref: https://golang.org/doc/articles/race_detector.html
This commit is contained in:
kslr 2021-01-04 10:51:31 +08:00
parent d04a786a85
commit 226416e81f

View File

@ -34,4 +34,4 @@ jobs:
uses: actions/checkout@v2
- name: Test
run: go test -timeout 1h -v ./...
run: go test -v -race -timeout 1h ./...