From c9a5cdef5415e5c212dae3423841b7b14918f66f Mon Sep 17 00:00:00 2001 From: Nathan <148575555+nathan-artie@users.noreply.github.com> Date: Thu, 3 Oct 2024 14:23:36 -0700 Subject: [PATCH] github: run tests just once --- .github/workflows/gha-go-test.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/gha-go-test.yaml b/.github/workflows/gha-go-test.yaml index e52f5a40..2620cb67 100644 --- a/.github/workflows/gha-go-test.yaml +++ b/.github/workflows/gha-go-test.yaml @@ -20,9 +20,7 @@ jobs: SC_URL="https://github.com/dominikh/go-tools/releases/download/$SC_VERSION/staticcheck_linux_amd64.tar.gz" wget -q ${SC_URL} -O - | tar -xzf - --strip-components 1 -C /usr/local/bin staticcheck/staticcheck make static - - name: Run tests - run: make test - - name: Run race condition check + - name: Run tests + race condition check run: make race - name: Check Go files are properly formatted run: test -z $(gofmt -l .)