Skip to content

Commit

Permalink
disable golint, add go fmt check
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Nov 29, 2023
1 parent c5c0119 commit fe7ec88
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/_shared-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,18 @@ jobs:
- name: Run go vet
run: go vet ./...

- name: Check go fmt
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi

- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest

- name: Run staticcheck
run: staticcheck ./...

- name: Install golint
run: go install golang.org/x/lint/golint@latest

- name: Run golint
run: golint ./...
#- name: Install golint
# run: go install golang.org/x/lint/golint@latest
#- name: Run golint
# run: golint ./...

- name: Run tests
run: go test -race -vet=off ./...

0 comments on commit fe7ec88

Please sign in to comment.