Check that go mod tidy executing does not result in file changes #1461

Closed
opened 2024-10-30 12:40:22 +00:00 by dstepanov-yadro · 4 comments

Checkout v0.38.9 tag, run make all, go.sum will have changes.

Describe the solution you'd like

Add Makefile and CI/CD check that go mod tidy executing does not result in file changes

## Is your feature request related to a problem? Please describe. Checkout `v0.38.9` tag, run `make all`, `go.sum` will have changes. ## Describe the solution you'd like Add Makefile and CI/CD check that `go mod tidy` executing does not result in file changes
dstepanov-yadro added the
frostfs-node
good first issue
triage
internal
labels 2024-10-30 12:40:22 +00:00
Owner

We have go-mod-tidy in pre-commit.
And we execute pre-commit in .forgejo/workflows/pre-commit.yml.

Is that what you want? #1118

We have `go-mod-tidy` in `pre-commit`. And we execute pre-commit in `.forgejo/workflows/pre-commit.yml`. Is that what you want? #1118
Author
Member

We have go-mod-tidy in pre-commit.
And we execute pre-commit in .forgejo/workflows/pre-commit.yml.

Is that what you want? #1118

As I see tag v0.38.9 has this check. Does it work correctly?

> We have `go-mod-tidy` in `pre-commit`. > And we execute pre-commit in `.forgejo/workflows/pre-commit.yml`. > > Is that what you want? #1118 As I see tag `v0.38.9` has this check. Does it work correctly?
Owner
I don't see it at `v0.38.9` https://git.frostfs.info/TrueCloudLab/frostfs-node/src/commit/v0.38.9/.forgejo/workflows
Author
Member

I checked https://git.frostfs.info/TrueCloudLab/frostfs-node/src/commit/v0.38.9/.woodpecker/pre-commit.yml
But looks like this file is unused now. Then looks like this is already done, so close issue.

I checked https://git.frostfs.info/TrueCloudLab/frostfs-node/src/commit/v0.38.9/.woodpecker/pre-commit.yml But looks like this file is unused now. Then looks like this is already done, so close issue.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1461
No description provided.