这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Lazar955
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings August 28, 2025 10:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades the Go version from 1.24.3 to 1.25.0 across the project and updates dependencies to maintain compatibility with the new Go version. The upgrade also includes updates to golangci-lint configuration and GitHub workflow configurations.

  • Upgraded Go version from 1.24.3 to 1.25.0 in go.mod and Dockerfile
  • Updated golangci-lint configuration to version 2 format with restructured linter settings
  • Added nolint directives to suppress revive and noctx warnings introduced by the new linter version

Reviewed Changes

Copilot reviewed 21 out of 22 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
go.mod Updated Go version to 1.25.0 and bumped various dependencies
Dockerfile Updated base image to golang:1.25-alpine
.golangci.yml Migrated to golangci-lint v2 configuration format
.github/workflows/*.yml Updated Go version and golangci-lint version in CI workflows
Multiple Go files Added nolint:revive directives to suppress package comment warnings
testutil/*.go, service/server.go Added nolint:noctx directives for context-related warnings
CHANGELOG.md Added entry documenting the Go version bump
Comments suppressed due to low confidence (1)

.golangci.yml:14

  • golangci-lint version v2.4.0 does not exist. The latest version as of my knowledge cutoff is v1.x.x series. Please verify this version exists or use a valid golangci-lint version.
    - containedctx

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

@samricotta
Copy link
Contributor

fix lint tho

@Lazar955 Lazar955 merged commit 79281ac into main Aug 28, 2025
71 of 75 checks passed
@Lazar955 Lazar955 deleted the lazar/bump-go1.25 branch August 28, 2025 15:19
mergify bot pushed a commit that referenced this pull request Aug 28, 2025
(cherry picked from commit 79281ac)
Lazar955 added a commit that referenced this pull request Aug 28, 2025
<hr>This is an automatic backport of pull request #666 done by
[Mergify](https://mergify.com).

Co-authored-by: Lazar <12626340+Lazar955@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants