-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run test and lint during CI #23
Conversation
Makefile
Outdated
go list -m -json $(MODULE_DEPS) | go run -modfile=tools/go.mod go.elastic.co/go-licence-detector \ | ||
# See https://github.com/elastic/go-licence-detector/issues/22 | ||
# TODO: Enable after the licence-detector issue is fixed | ||
# go list -m -json $(MODULE_DEPS) | go run -modfile=tools/go.mod go.elastic.co/go-licence-detector \ | ||
-includeIndirect -rules tools/notice/rules.json -validate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-includeIndirect -rules tools/notice/rules.json -validate | |
# -includeIndirect -rules tools/notice/rules.json -validate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the go-license-detector
to remove -validate
and add a NOTICE.txt
(the template was available but not used so far it seems).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I don't think NOTICE.txt is required.
Thanks, removed |
Fixes lint and runs both lint and test in CI on new pushes and pull requests.