Skip to content

Commit

Permalink
exclude forked libs from golint
Browse files Browse the repository at this point in the history
  • Loading branch information
natasha41575 committed Oct 23, 2023
1 parent b6d8b45 commit a7b5665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Run gofmt
run: diff -u <(echo -n) <(gofmt -d *.go)
- name: Run golint
run: diff -u <(echo -n) <(golint $(go list -e ./...) | grep -v YAMLToJSON)
run: diff -u <(echo -n) <(golint $(go list -e ./... | grep -v /goyaml) | grep -v YAMLToJSON)
- name: Run go vet
run: GO111MODULE=on go vet .
- name: Run go test
Expand Down

0 comments on commit a7b5665

Please sign in to comment.