Skip to content
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

Merged
merged 5 commits into from
Aug 28, 2023
Merged

Conversation

lahsivjar
Copy link
Contributor

Fixes lint and runs both lint and test in CI on new pushes and pull requests.

@lahsivjar lahsivjar requested a review from a team August 28, 2023 05:22
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
-includeIndirect -rules tools/notice/rules.json -validate
# -includeIndirect -rules tools/notice/rules.json -validate

Copy link
Contributor Author

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).

@lahsivjar lahsivjar requested a review from axw August 28, 2023 05:46
Copy link
Member

@axw axw left a 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.

@lahsivjar
Copy link
Contributor Author

Thanks, removed NOTICE.txt.

@lahsivjar lahsivjar merged commit 28474a6 into elastic:main Aug 28, 2023
2 of 3 checks passed
@lahsivjar lahsivjar deleted the fix-ci-test branch August 28, 2023 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants