Skip to content

Conversation

@jholdstock
Copy link
Member

No description provided.

This updates CI to test against Go 1.25 and removes the tests for Go
1.23 accordingly.
This updates to the following Github Actions:

- actions/setup-go@4469467 # v6.0.0
- actions/checkout@08c6903 # v5.0.0
Since the module requires a minimum of Go 1.23 now, there is no longer
any reason to keep the conditional compilation of the func to retrieve
VCS commit ID on Go versions prior to 1.18 given it can't build on them
anymore anyway.

With that in mind, this moves the conditionally-compiled implementation
for Go1.18+ into the main file so that it is always compiled as the only
implementation and removes the old conditionally-compiled implementation
for Go versions prior to 1.18.
Various changes in this new major version, including a new config file
format:

- "gofmt" and "goimports" are now categorized as formatters
  (instead of linters) and are moved to their own section.
- The functionality of "gosimple" has been bundled into "staticcheck".
  Only the "gosimple" behaviour is enabled (prefix "S1") and all other
  "staticcheck" behaviour is disabled.
- "typecheck" is now always on and cannot be independently
  enabled/disabled.
Includes source changes to make linter pass.
Includes source changes to make linter pass.
Includes source changes to make linter pass.
@davecgh
Copy link
Member

davecgh commented Nov 14, 2025

Nice job on this. Thanks for getting it all updated.

@davecgh davecgh merged commit d4fb085 into decred:master Nov 14, 2025
2 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