Skip to content

[CI] Package elastic agent job #15682

[CI] Package elastic agent job

[CI] Package elastic agent job #15682

Triggered via pull request March 11, 2024 14:30
Status Failure
Total duration 1m 39s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 7 warnings
lint (darwin): dev-tools/mage/artifacts/artifacts_api.go#L149
naked return in func `GetVersions` with 14 lines of code (nakedret)
lint (darwin): dev-tools/mage/artifacts/artifacts_api.go#L155
naked return in func `GetVersions` with 14 lines of code (nakedret)
lint (darwin): dev-tools/mage/artifacts/artifacts_api.go#L168
naked return in func `GetBuildsForVersion` with 14 lines of code (nakedret)
lint (darwin): dev-tools/mage/artifacts/artifacts_api.go#L174
naked return in func `GetBuildsForVersion` with 14 lines of code (nakedret)
lint (darwin): dev-tools/mage/artifacts/artifacts_api.go#L187
naked return in func `GetBuildDetails` with 14 lines of code (nakedret)
lint (darwin): dev-tools/mage/artifacts/artifacts_api.go#L193
naked return in func `GetBuildDetails` with 14 lines of code (nakedret)
lint (darwin): dev-tools/mage/crossbuild.go#L33
import of package `github.com/pkg/errors` is blocked because the module is in the blocked modules list. `errors` and `fmt` are recommended modules. This package is deprecated, use `fmt.Errorf` with `%!w(MISSING)` instead. (gomodguard)
lint (darwin): dev-tools/mage/crossbuild.go#L46
ST1022: comment on exported var SelectedPackageTypes should be of the form "SelectedPackageTypes ..." (stylecheck)
lint (darwin): dev-tools/mage/crossbuild.go#L340
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
lint (darwin): dev-tools/mage/pkg.go#L32
import of package `github.com/pkg/errors` is blocked because the module is in the blocked modules list. `errors` and `fmt` are recommended modules. This package is deprecated, use `fmt.Errorf` with `%!w(MISSING)` instead. (gomodguard)
lint (linux)
The job was canceled because "darwin" failed.
lint (linux)
The operation was canceled.
lint (windows)
The job was canceled because "darwin" failed.
lint (windows)
The operation was canceled.
lint (darwin)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']