aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Runxi Yu2025-11-18 00:00:00 +0000
committerGravatar Runxi Yu2025-11-18 00:00:00 +0000
commita5d3ea7e0229e626e07975092ba137cf220ad648 (patch)
treec0d2f2530c839490d54c8a48609df6fdbe4ff472
parentBump Go version to 1.25.3 (diff)
signature
Add tests with race detector
-rw-r--r--.build.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index c00ed9c2..f756d3a5 100644
--- a/.build.yml
+++ b/.build.yml
@@ -12,6 +12,12 @@ tasks:
- test-sha1: |
cd furgit
go test -v -tags sha1 ./...
+ - test-race-sha256: |
+ cd furgit
+ go test -race -v ./...
+ - test-race-sha1: |
+ cd furgit
+ go test -race -v -tags sha1 ./...
- lint: |
cd furgit
golangci-lint run ./...