-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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: add more golang strictness checks #8931
Conversation
679b8b1
to
1abd493
Compare
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.
After having a look into two minor comments LGTM
fi | ||
git diff --exit-code -- go.sum go.mod | ||
- name: gofmt | ||
if: ${{ success() || failure() }} # run this step even if the previous one failed |
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.
nit: you can use if: always()
here.
exit 1 | ||
fi | ||
- name: go vet | ||
if: ${{ success() || failure() }} # run this step even if the previous one failed |
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.
nit: the same, you can use if: always()
here.
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.
Some nits, but LGTM
1abd493
to
1f37a14
Compare
No description provided.