Skip to content

fix golang ci lint version (#4154) #401

fix golang ci lint version (#4154)

fix golang ci lint version (#4154) #401

Triggered via push October 24, 2023 02:24
Status Failure
Total duration 18m 21s
Artifacts 1

services.yml

on: push
Matrix: image-build
save-sealos  /  save-sealos
36s
save-sealos / save-sealos
resolve-modules
11s
resolve-modules
Matrix: build-cluster-image
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

8 errors
golangci-lint (./service/hub)
Failed to run: Error: invalid version string '1.54.2', expected format v1.2 or v1.2.3, Error: invalid version string '1.54.2', expected format v1.2 or v1.2.3 at parseVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:67062:15) at getRequestedLintVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:67111:40) at findLintVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:67144:28) at prepareLint (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:66704:63) at prepareEnv (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:66763:32)
golangci-lint (./service/hub)
invalid version string '1.54.2', expected format v1.2 or v1.2.3
golangci-lint (./service/database)
The job was canceled because "_service_hub" failed.
golangci-lint (./service/database)
Failed to run: Error: invalid version string '1.54.2', expected format v1.2 or v1.2.3, Error: invalid version string '1.54.2', expected format v1.2 or v1.2.3 at parseVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:67062:15) at getRequestedLintVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:67111:40) at findLintVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:67144:28) at prepareLint (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:66704:63) at prepareEnv (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:66763:32)
golangci-lint (./service/database)
invalid version string '1.54.2', expected format v1.2 or v1.2.3
golangci-lint (./service/pay)
The job was canceled because "_service_hub" failed.
golangci-lint (./service/pay)
Failed to run: Error: invalid version string '1.54.2', expected format v1.2 or v1.2.3, Error: invalid version string '1.54.2', expected format v1.2 or v1.2.3 at parseVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:67062:15) at getRequestedLintVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:67111:40) at findLintVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:67144:28) at prepareLint (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:66704:63) at prepareEnv (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:66763:32)
golangci-lint (./service/pay)
invalid version string '1.54.2', expected format v1.2 or v1.2.3

Artifacts

Produced during runtime
Name Size
sealos Expired
76.7 MB