Browse Source

Test: add race detector

ref: https://golang.org/doc/articles/race_detector.html
kslr 4 years ago
parent
commit
226416e81f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/test.yml

+ 1 - 1
.github/workflows/test.yml

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