From 8bf8b4036290f550b0e35904159253f52d736ca4 Mon Sep 17 00:00:00 2001 From: Simon Sawert Date: Sun, 1 May 2022 23:10:28 +0200 Subject: [PATCH] Add race detection flag when running tests --- .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 ee46a38..8bbca2d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -42,7 +42,7 @@ jobs: uses: actions/checkout@v3 - name: Run tests - run: go test -v -covermode=count + run: go test -v -race -covermode=atomic coverage: runs-on: ubuntu-latest