Skip to content

Commit

Permalink
[gha] Check Go files are properly formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Jun 25, 2024
1 parent 138b5ee commit 791b1db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/gha-go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .)

0 comments on commit 791b1db

Please sign in to comment.