ci: enable race detector

This commit is contained in:
Sun Yimin 2024-03-29 14:37:58 +08:00 committed by GitHub
parent 02258d2351
commit db87b0556f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View File

@ -24,7 +24,7 @@ jobs:
- name: Test with Coverage
if: ${{ matrix.goVer == '1.18' }}
run: go test -coverpkg=./... -v -short -coverprofile=coverage1.txt -covermode=atomic ./...
run: go test -coverpkg=./... -v -short -race -coverprofile=coverage1.txt -covermode=atomic ./...
env:
GODEBUG: x509sha1=1

View File

@ -1,5 +1,3 @@
//go:build !race
package pkcs8_test
import (