Skip to content

move to 1.26.1 to match latest usql#75

Merged
murfffi merged 7 commits intomainfrom
tests/bumplint
Apr 1, 2026
Merged

move to 1.26.1 to match latest usql#75
murfffi merged 7 commits intomainfrom
tests/bumplint

Conversation

@murfffi
Copy link
Copy Markdown
Member

@murfffi murfffi commented Apr 1, 2026

Moving to 1.26 includes:

  • moving to latest golangci-lint
  • bump Github CI actions
  • switch from gopls modernize to go fix
  • apply go fix suggested changes
  • switch to downloaded golangci-lint for local make lint

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Go version to 1.25.8, refactors imports and removes a lint suppression in filetools.go, and introduces a local installation of golangci-lint in the Makefile. A bug was identified in the Makefile where an invalid version of golangci-lint (v2.11.4) was specified, which will cause the installation to fail as the tool is currently on version v1.x.

# We install golangci-lint as recommended in the docs. See the same docs for a discussion about go run and
# go get -tool alternatives - https://golangci-lint.run/docs/welcome/install/ .
# Delete tools/golangci-lint if this target is updated (may be automated in the future)
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b ./tools v2.11.4 No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

The version v2.11.4 for golangci-lint appears to be incorrect. The current major version of golangci-lint is v1, and there is no v2.11.4 release available in the official repository. This will cause the installation script to fail as it won't find a matching release on GitHub. Please use a valid version, such as the latest stable v1.64.5.

	curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b ./tools v1.64.5

also bump go.mod to 1.25.8 to
collect vulnerability fixes
@murfffi murfffi changed the title tests: lint script improvements move to 1.26.1 to match latest usql Apr 1, 2026
@murfffi murfffi merged commit f0e240d into main Apr 1, 2026
5 checks passed
@murfffi murfffi deleted the tests/bumplint branch April 1, 2026 16:58
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.

1 participant