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: add more golang strictness checks #8931

Merged
merged 2 commits into from
May 3, 2022
Merged

Conversation

aschmahmann
Copy link
Contributor

No description provided.

Copy link
Member

@ajnavarro ajnavarro left a 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
Copy link
Member

@ajnavarro ajnavarro May 3, 2022

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
Copy link
Member

@ajnavarro ajnavarro May 3, 2022

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.

Copy link
Member

@ajnavarro ajnavarro left a 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

@aschmahmann aschmahmann enabled auto-merge May 3, 2022 18:15
@aschmahmann aschmahmann merged commit 0d74f32 into master May 3, 2022
@aschmahmann aschmahmann deleted the ci/add-more-checks branch May 3, 2022 18:19
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