Skip to content

Update to Go 1.25 and golangci-lint 2.4.0 - #121

Merged
YoshihitoAso merged 2 commits into
dev-2.6from
feature-119
Sep 2, 2025
Merged

Update to Go 1.25 and golangci-lint 2.4.0#121
YoshihitoAso merged 2 commits into
dev-2.6from
feature-119

Conversation

@YoshihitoAso

Copy link
Copy Markdown
Member

Close #119 , #120

  • Bump Go version to 1.25 across Dockerfiles, CI, and documentation.
  • Update golangci-lint to 2.4.0 and adjust .golangci.yml configuration for new linter settings.
    • Minor code cleanup in gfp_decl.go and ping-pong.go.

Bump Go version to 1.25 across Dockerfiles, CI, and documentation. Update golangci-lint to 2.4.0 and adjust .golangci.yml configuration for new linter settings. Update checksums for new Go and golangci-lint versions. Minor code cleanup in gfp_decl.go and ping-pong.go.

This comment was marked as outdated.

Enabled 'gocheckcompilerdirectives' and 'reassign' linters, and added a 'revive' linter override for the 'crypto/bn256/' directory. Also removed a redundant linter message about 'os.MkdirTemp()' and made minor adjustments to linter configuration for improved code quality checks.
@YoshihitoAso
YoshihitoAso requested a review from Copilot September 2, 2025 00:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

Updates project to use Go 1.25 and golangci-lint 2.4.0, improving the build environment and linting configuration to support the latest toolchain versions.

  • Upgraded Go version from 1.23.1 to 1.25.0 across all project files
  • Updated golangci-lint from 1.61.0 to 2.4.0 with modernized configuration format
  • Performed minor code cleanup removing unused linter directives and formatting

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
go.mod Updates Go module version to 1.25.0
build/ci.go Updates download version for Go toolchain and golangci-lint
build/checksums.txt Updates checksums for Go 1.25.0 and golangci-lint 2.4.0 binaries
README.md Updates documentation to reflect Go 1.25 requirement
Dockerfile* Updates base images to use golang:1.25-alpine
.golangci.yml Modernizes linter configuration for golangci-lint 2.4.0
.github/workflows/* Updates CI workflows to use Go 1.25
crypto/bn256/cloudflare/gfp_decl.go Removes deprecated linter directives
p2p/simulations/examples/ping-pong.go Removes empty line for formatting

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@YoshihitoAso
YoshihitoAso merged commit 3aade9c into dev-2.6 Sep 2, 2025
6 of 7 checks passed
@YoshihitoAso
YoshihitoAso deleted the feature-119 branch September 2, 2025 01:29
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.

[FEATURE] Golang update (v1.25)

3 participants