Update go version and deps, migrate golangci to v2, fix go-validate workflow #306
go-validate.yml
on: pull_request
get-go-version
4s
Go Mod Tidy
17s
Lint check
8s
Gofmt check
16s
Generate check
1m 6s
Annotations
2 errors and 12 warnings
|
Lint check
Command failed: /home/runner/golangci-lint-2.12.2-linux-amd64/golangci-lint config verify
jsonschema: "linters" does not validate with "/properties/linters/additionalProperties": additional properties 'fast', 'disable-all' not allowed
jsonschema: "run" does not validate with "/properties/run/additionalProperties": additional properties 'skip-files', 'skip-dirs-use-default' not allowed
jsonschema: "output.formats" does not validate with "/properties/output/properties/formats/additionalProperties": additional properties 'colored-line-number' not allowed
jsonschema: "output" does not validate with "/properties/output/additionalProperties": additional properties 'print-linter-name', 'uniq-by-line', 'print-issued-lines' not allowed
jsonschema: "version" does not validate with "/properties/version/type": got number, want string
jsonschema: "issues" does not validate with "/properties/issues/additionalProperties": additional properties 'exclude-rules' not allowed
jsonschema: "" does not validate with "/additionalProperties": additional properties 'linters-settings' not allowed
The command is terminated due to an error: the configuration contains invalid elements
|
|
Lint check
Failed to run: Error: Command failed: /home/runner/golangci-lint-2.12.2-linux-amd64/golangci-lint config verify
jsonschema: "linters" does not validate with "/properties/linters/additionalProperties": additional properties 'fast', 'disable-all' not allowed
jsonschema: "run" does not validate with "/properties/run/additionalProperties": additional properties 'skip-files', 'skip-dirs-use-default' not allowed
jsonschema: "output.formats" does not validate with "/properties/output/properties/formats/additionalProperties": additional properties 'colored-line-number' not allowed
jsonschema: "output" does not validate with "/properties/output/additionalProperties": additional properties 'print-linter-name', 'uniq-by-line', 'print-issued-lines' not allowed
jsonschema: "version" does not validate with "/properties/version/type": got number, want string
jsonschema: "issues" does not validate with "/properties/issues/additionalProperties": additional properties 'exclude-rules' not allowed
jsonschema: "" does not validate with "/additionalProperties": additional properties 'linters-settings' not allowed
The command is terminated due to an error: the configuration contains invalid elements
, Error: Command failed: /home/runner/golangci-lint-2.12.2-linux-amd64/golangci-lint config verify
jsonschema: "linters" does not validate with "/properties/linters/additionalProperties": additional properties 'fast', 'disable-all' not allowed
jsonschema: "run" does not validate with "/properties/run/additionalProperties": additional properties 'skip-files', 'skip-dirs-use-default' not allowed
jsonschema: "output.formats" does not validate with "/properties/output/properties/formats/additionalProperties": additional properties 'colored-line-number' not allowed
jsonschema: "output" does not validate with "/properties/output/additionalProperties": additional properties 'print-linter-name', 'uniq-by-line', 'print-issued-lines' not allowed
jsonschema: "version" does not validate with "/properties/version/type": got number, want string
jsonschema: "issues" does not validate with "/properties/issues/additionalProperties": additional properties 'exclude-rules' not allowed
jsonschema: "" does not validate with "/additionalProperties": additional properties 'linters-settings' not allowed
The command is terminated due to an error: the configuration contains invalid elements
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:524:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
|
|
get-go-version
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b, actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491, golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint check
Failed to restore: Cache service responded with 400
|
|
Gofmt check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b, actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Gofmt check
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0JvETagAAAABySF7gPA9YQI3+P1lDWRGkQ0hJMzBFREdFMDQxNgBFZGdl
|
|
Gofmt check
Failed to restore: Cache service responded with 400
|
|
Go Mod Tidy
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b, actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Go Mod Tidy
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0J/ETagAAAAARtDd9T6qISJv7OGkRhaJQTEFYMzExMDAwMTA5MDQ5AEVkZ2U=
|
|
Go Mod Tidy
Failed to restore: Cache service responded with 400
|
|
Generate check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b, actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Generate check
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0WfETagAAAADShS7objdnQbckw3FtPqnJQ0hJMzBFREdFMDMwOQBFZGdl
|
|
Generate check
Failed to restore: Cache service responded with 400
|