Skip to content

ci: set up Go from go.mod before running golangci-lint - #695

Merged
gaius-qi merged 1 commit into
mainfrom
feature/lint
Nov 2, 2026
Merged

gaius-qi merged 1 commit into
mainfrom
feature/lint

Conversation

@gaius-qi

@gaius-qi gaius-qi commented Nov 2, 2026

Copy link
Copy Markdown
Member

Description

Add an actions/setup-go step to the lint workflow so the Go toolchain version matches the one declared in go.mod instead of relying on the runner's default, avoiding version mismatches during linting.

Related Issue

Motivation and Context

Add an actions/setup-go step to the lint workflow so the Go toolchain
version matches the one declared in go.mod instead of relying on the
runner's default, avoiding version mismatches during linting.

Signed-off-by: Gaius <gaius.qi@gmail.com>
@gaius-qi gaius-qi self-assigned this Nov 2, 2026
@gaius-qi gaius-qi added the enhancement New feature or request label Nov 2, 2026
@gaius-qi
gaius-qi requested a review from a team as a code owner November 2, 2026 05:37
@gaius-qi
gaius-qi enabled auto-merge (squash) November 2, 2026 05:37

@BraveY BraveY 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.

LGTM

@gaius-qi
gaius-qi merged commit 2d3f56c into main Nov 2, 2026
6 checks passed
@gaius-qi
gaius-qi deleted the feature/lint branch November 2, 2026 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants