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

chore: check go.mod and gofmt in CI #1215

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

alexandear
Copy link
Contributor

@alexandear alexandear commented Jan 29, 2025

This PR extends GitHub Actions:

  • Check if there is any dirty change for go mod tidy.
  • Check if gofmt produced any changes.

Avoid situations like #1060 (comment) and #1060 (comment)

Check go mod Copied from https://github.com/golangci/golangci-lint/blob/87da074ca5995c356532643f2713fd0175702711/.github/workflows/pr.yml#L16-L28

@alexandear alexandear force-pushed the chore/check-go-mod-tidy branch 2 times, most recently from cf2c101 to 982a72b Compare January 29, 2025 16:54
@alexandear alexandear changed the title chore: check if there is any dirty change for go mod tidy chore: check go.mod and gofmt in CI Jan 29, 2025
@alexandear alexandear force-pushed the chore/check-go-mod-tidy branch from 982a72b to cc594a0 Compare January 29, 2025 16:55
@alexandear alexandear force-pushed the chore/check-go-mod-tidy branch from cc594a0 to f3976c9 Compare January 29, 2025 16:57
@denisvmedia denisvmedia self-requested a review January 29, 2025 17:03
@alexandear alexandear force-pushed the chore/check-go-mod-tidy branch from 63fdc4a to f3976c9 Compare January 29, 2025 17:05
@denisvmedia
Copy link
Collaborator

Thank you!

@denisvmedia denisvmedia merged commit a34327e into mgechev:master Jan 29, 2025
14 checks passed
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