diff --git a/.github/workflows/gha-go-test.yml b/.github/workflows/gha-go-test.yml index f3222375f..71c03b7e8 100644 --- a/.github/workflows/gha-go-test.yml +++ b/.github/workflows/gha-go-test.yml @@ -18,7 +18,9 @@ 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 test + - name: Run tests run: make test - name: Run race condition check run: make race + - name: Check Go files are properly formatted + run: test -z $(gofmt -l .)