Skip to content

fix golang ci lint version #400

fix golang ci lint version

fix golang ci lint version #400

Triggered via pull request October 24, 2023 02:23
Status Failure
Total duration 13m 49s
Artifacts 1

services.yml

on: pull_request
Matrix: image-build
save-sealos  /  save-sealos
32s
save-sealos / save-sealos
resolve-modules
10s
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/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
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

Artifacts

Produced during runtime
Name Size
sealos Expired
76.7 MB