From 226416e81fbf2944bae979ba18af3f5bb9fdca05 Mon Sep 17 00:00:00 2001 From: kslr Date: Mon, 4 Jan 2021 10:51:31 +0800 Subject: [PATCH] Test: add race detector ref: https://golang.org/doc/articles/race_detector.html --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2bef742e4..f81d7cbfd 100644 --- a/.github/workflows/test.yml +++ b/.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 ./... \ No newline at end of file