diff --git a/.goreleaser.debug.yaml b/.goreleaser.debug.yaml index c636553ad..fb6f16038 100644 --- a/.goreleaser.debug.yaml +++ b/.goreleaser.debug.yaml @@ -6,7 +6,7 @@ before: - go generate - go run github.com/google/go-licenses@latest check . --disallowed_types=restricted - go mod tidy - - go test -v ./... + - go test -race -v ./... builds: - id: casaos-amd64 diff --git a/.goreleaser.yaml b/.goreleaser.yaml index c714dda2c..40cd42ca0 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -6,7 +6,7 @@ before: - go generate - go run github.com/google/go-licenses@latest check . --disallowed_types=restricted - go mod tidy - - go test -v ./... + - go test -race -v ./... builds: - id: casaos-amd64