Skip to content

Commit

Permalink
Adding gofmt job
Browse files Browse the repository at this point in the history
Signed-off-by: rjsadow <richard.j.sadowski@gmail.com>
  • Loading branch information
rjsadow authored and dims committed Dec 22, 2023
1 parent fe21181 commit 9bd54e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
with:
go-version: 1.21

- name: Lint
run: |
gofmt -l -s $(find . -type f -name '*.go')
if [[ -n $(gofmt -l -s $(find . -type f -name '*.go')) ]]; then exit 1; fi
- name: Install kind
run: |
curl -Lo ./kind https://kind.sigs.k8s.io/dl/${{ env.KIND_VERSION }}/kind-linux-amd64
Expand Down

0 comments on commit 9bd54e0

Please sign in to comment.