Explorar o código

Test: add race detector

ref: https://golang.org/doc/articles/race_detector.html
kslr %!s(int64=5) %!d(string=hai) anos
pai
achega
226416e81f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 ./...