Skip to content

Commit

Permalink
Add linting steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Grendel7 authored Oct 24, 2023
1 parent 89a29cd commit 43fd7ff
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,11 @@ jobs:
- name: Test
run: go test -v ./...

- name: Check
run: ./scripts/check.sh
- name: Go Vet
run: go vet $(go list ./... | grep -v /vendor/)

- name: Go Mod
run: go mod tidy; git diff --exit-code go.mod go.sum

- name: Go FMT
run: go fmt $(go list ./... | grep -v /vendor/); git diff --exit-code

0 comments on commit 43fd7ff

Please sign in to comment.