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

Bump up go and golangci-lint version #52

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

wenyingd
Copy link

@wenyingd wenyingd commented Aug 23, 2023

  1. Bump up go version to v1.21
  2. Bump up golangci-lint version to v1.54.0

@wenyingd wenyingd changed the title [WIP] Bump up go golangci [WIP] Bump up go and golangci-lint version Aug 23, 2023
@wenyingd wenyingd changed the title [WIP] Bump up go and golangci-lint version Bump up go and golangci-lint version Aug 23, 2023
Makefile Outdated
@@ -1,5 +1,5 @@
GO ?= go
GOLANGCI_LINT_VERSION := v1.52.2
GOLANGCI_LINT_VERSION := v1.54.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you use 1.54.2?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I observe that antrea is using 1.54.0, so I change to the same version.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the only reason why it uses 1.54.0 is because it was the latest version when I created my PR... There's no reason not to pick up the latest patch release here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, I will update.

antoninbas
antoninbas previously approved these changes Aug 25, 2023
@antoninbas
Copy link

go mod tidy needs to be run

1. Bump up go version to v1.21
2. Bump up golangci-lint version to v1.54.2

Signed-off-by: wenyingd <[email protected]>
@wenyingd
Copy link
Author

go mod tidy needs to be run

Yes, updated.

@antoninbas antoninbas merged commit 4140706 into antrea-io:main Aug 25, 2023
4 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