From a1db5c30707e1234fa1908966558ec79bfdb6c4e Mon Sep 17 00:00:00 2001 From: Henrique Vicente Date: Wed, 5 Feb 2020 02:19:01 +0100 Subject: [PATCH] tests: adding the Go data race detector. https://golang.org/doc/articles/race_detector.html https://blog.golang.org/race-detector --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 557f87049..2789ade34 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,5 +23,5 @@ jobs: - name: Build shell: bash run: | - go test ./... + go test -race ./... go build -v ./cmd/gh