From eddba1c4aad384217e0867ec2f3a38e6e64a39cd Mon Sep 17 00:00:00 2001 From: edoardottt Date: Tue, 15 Nov 2022 18:51:32 +0100 Subject: [PATCH] Add race tests --- .github/workflows/go.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index da1ae95..e4ce484 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -16,10 +16,13 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.17 + go-version: 1.18 - name: Build run: go build -v ./... - name: Test - run: go test -v ./... \ No newline at end of file + run: go test -v ./... + + - name: Race + run: go build -race ./... \ No newline at end of file