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

ci: Locate file:line in golangci-lint #23

Merged
merged 1 commit into from
Jan 3, 2023

Conversation

jnan806
Copy link
Contributor

@jnan806 jnan806 commented Dec 22, 2022

Signed-off-by: Jiangnan Jia jnan0806@gmail.com

What type of PR is this?

What this PR does / why we need it:

Now, the golangci-lint can not locate the file:line when lint occurs error,like following:
image

Which issue(s) this PR fixes:

Fixes #18

Describe how you did it:
add args according golangci/golangci-lint-action#119 (comment)

Signed-off-by: Jiangnan Jia <jnan0806@gmail.com>
@wilsonwu
Copy link
Contributor

lgtm, @garroshh please help to review.

@garroshh
Copy link
Contributor

LGTM

@wilsonwu
Copy link
Contributor

@sczyh30 please help to merge, thanks.

Copy link
Member

@sczyh30 sczyh30 left a comment

Choose a reason for hiding this comment

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

LGTM

@sczyh30 sczyh30 merged commit 126b459 into sentinel-group:main Jan 3, 2023
@sczyh30
Copy link
Member

sczyh30 commented Jan 3, 2023

Thanks!
@wilsonwu @garroshh Could you please submit another PR to fix "goimports" format error?

@jnan806 jnan806 deleted the ci_print_file_line branch January 3, 2023 02:47
@wilsonwu
Copy link
Contributor

wilsonwu commented Jan 4, 2023

@sczyh30 Yes, we are doing some enhancement for the operator, but currently this repo can't release docker image, so we can't use it directly, when the docker hub account ready, please let me know, we can move here for all.

1 similar comment
@wilsonwu
Copy link
Contributor

wilsonwu commented Jan 4, 2023

@sczyh30 Yes, we are doing some enhancement for the operator, but currently this repo can't release docker image, so we can't use it directly, when the docker hub account ready, please let me know, we can move here for all.

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.

Lint check failed
4 participants