Skip to content

fix lint workflow

fix lint workflow #297

Triggered via pull request February 17, 2025 15:21
Status Failure
Total duration 41s
Artifacts

lint-and-test.yaml

on: pull_request
detect-modules
10s
detect-modules
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 4 warnings
golangci-lint (/home/runner/work/elasti/elasti/operator)
Failed to run: Error: Command failed: /home/runner/golangci-lint-1.63.4-linux-amd64/golangci-lint config verify jsonschema: "run.go" does not validate with "/properties/run/properties/go/type": got number, want string Failed executing command with error: the configuration contains invalid elements , Error: Command failed: /home/runner/golangci-lint-1.63.4-linux-amd64/golangci-lint config verify jsonschema: "run.go" does not validate with "/properties/run/properties/go/type": got number, want string Failed executing command with 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:519:28) at maybeClose (node:internal/child_process:1105:16) at ChildProcess._handle.onexit (node:internal/child_process:305:5)
golangci-lint (/home/runner/work/elasti/elasti/operator)
Command failed: /home/runner/golangci-lint-1.63.4-linux-amd64/golangci-lint config verify jsonschema: "run.go" does not validate with "/properties/run/properties/go/type": got number, want string Failed executing command with error: the configuration contains invalid elements
golangci-lint (/home/runner/work/elasti/elasti/resolver)
The job was canceled because "_home_runner_work_elasti_" failed.
golangci-lint (/home/runner/work/elasti/elasti/resolver)
The operation was canceled.
golangci-lint (/home/runner/work/elasti/elasti/pkg)
The job was canceled because "_home_runner_work_elasti_" failed.
golangci-lint (/home/runner/work/elasti/elasti/pkg)
The operation was canceled.
detect-modules
Restore cache failed: Dependencies file is not found in /home/runner/work/elasti/elasti. Supported file pattern: go.sum
golangci-lint (/home/runner/work/elasti/elasti/operator)
Restore cache failed: Dependencies file is not found in /home/runner/work/elasti/elasti. Supported file pattern: go.sum
golangci-lint (/home/runner/work/elasti/elasti/resolver)
Restore cache failed: Dependencies file is not found in /home/runner/work/elasti/elasti. Supported file pattern: go.sum
golangci-lint (/home/runner/work/elasti/elasti/pkg)
Restore cache failed: Dependencies file is not found in /home/runner/work/elasti/elasti. Supported file pattern: go.sum