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

Backport of add make target script into release/1.2.x #3600

Conversation

hc-github-team-consul-core
Copy link
Collaborator

Backport

This PR is auto-generated from #3596 to be assessed for backporting due to the inclusion of the label backport/1.2.x.

The below text is copied from the body of the original PR.


Changes proposed in this PR

This adds a script and a make target for running go mod tidy recursively. It also adds a new target that reports back an error if go mod tidy needs to be run. This is useful for CI.

How I've tested this PR

I committed a change locally of an incorrect go.mod file then ran the script with and without the check. Verified check behaviour returns an error.

How I expect reviewers to test this PR

👀

Checklist


Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core merged commit 58a3ee0 into release/1.2.x Feb 9, 2024
22 of 46 checks passed
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/mw/add-go-mod-check-ci/sensibly-cosmic-squid branch February 9, 2024 15:44
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