From a5d3ea7e0229e626e07975092ba137cf220ad648 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 18 Nov 2025 00:00:00 +0000 Subject: Add tests with race detector --- .build.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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 ./... -- cgit v1.3.1-10-gc9f91