From c2470c62f8302bee49c1ab6074a1e0067e4a80a6 Mon Sep 17 00:00:00 2001 From: Nathan <148575555+nathan-artie@users.noreply.github.com> Date: Tue, 25 Jun 2024 16:42:23 -0700 Subject: [PATCH] Reorder --- .github/workflows/gha-go-test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gha-go-test.yaml b/.github/workflows/gha-go-test.yaml index 9a1987d6..dd03422d 100644 --- a/.github/workflows/gha-go-test.yaml +++ b/.github/workflows/gha-go-test.yaml @@ -18,9 +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: Check go format - run: test -z $(gofmt -l .) - name: Run test run: make test - name: Run race condition check run: make race + - name: Check Go files are properly formatted + run: test -z $(gofmt -l .)