-
Notifications
You must be signed in to change notification settings - Fork 228
Open
Description
Summary
We need to keep the shell plugin system to the latest version of the tools used.
Simply updating the Go version will cause the lint job (example) to fail with the following error:
level=error msg="Running error: context loading failed: failed to load packages: failed to load with go/packages: err: exit status 1: stderr: go: errors parsing go.mod:\n/home/runner/work/shell-plugins/shell-plugins/go.mod:3: invalid go version '1.23.0': must match format 1.23\n"
Therefore, the following things need to be updated:
- Go version:
1.23.0(from1.18) golangci-lint:2.16(from1.50.1). If migrating is too hard, then1.64.8should do.- We need to update the configuration for the
depguardlint. It seems the syntax is deprecated and we get lots of error when updating to latest v1 ofgolangci-lint.
- We need to update the configuration for the
- Update actions in our job pipelines to the latest major versions.
This should enable us to easily update new dependencies such as #522.
Metadata
Metadata
Assignees
Labels
No labels