Skip to content

[8.14](backport #4859) Repoint kardianos/service to fork elastic/kardianos-service #9995

[8.14](backport #4859) Repoint kardianos/service to fork elastic/kardianos-service

[8.14](backport #4859) Repoint kardianos/service to fork elastic/kardianos-service #9995

Triggered via pull request June 13, 2024 10:06
Status Failure
Total duration 3m 40s
Artifacts

golangci-lint.yml

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

Annotations

17 errors and 7 warnings
lint (macos-latest): internal/pkg/agent/install/install.go#L1
: # github.com/elastic/elastic-agent/internal/pkg/agent/install [github.com/elastic/elastic-agent/internal/pkg/agent/install.test]
lint (macos-latest): internal/pkg/agent/install/switch.go#L25
undefined: EnsureStoppedService
lint (macos-latest): internal/pkg/agent/install/switch.go#L42
undefined: EnsureUserAndGroup
lint (macos-latest): internal/pkg/agent/install/switch.go#L54
undefined: switchPlatformMode
lint (macos-latest): internal/pkg/agent/install/switch.go#L78
undefined: UninstallService
lint (macos-latest): internal/pkg/agent/install/switch.go#L82
undefined: InstallService (typecheck)
lint (macos-latest)
issues found
lint (windows-latest)
The job was canceled because "macos-latest" failed.
lint (windows-latest)
The operation was canceled.
lint (ubuntu-latest)
The job was canceled because "macos-latest" failed.
lint (ubuntu-latest): internal/pkg/agent/install/install.go#L1
: # github.com/elastic/elastic-agent/internal/pkg/agent/install [github.com/elastic/elastic-agent/internal/pkg/agent/install.test]
lint (ubuntu-latest): internal/pkg/agent/install/switch.go#L25
undefined: EnsureStoppedService
lint (ubuntu-latest): internal/pkg/agent/install/switch.go#L42
undefined: EnsureUserAndGroup
lint (ubuntu-latest): internal/pkg/agent/install/switch.go#L54
undefined: switchPlatformMode
lint (ubuntu-latest): internal/pkg/agent/install/switch.go#L78
undefined: UninstallService
lint (ubuntu-latest): internal/pkg/agent/install/switch.go#L82
undefined: InstallService (typecheck)
lint (ubuntu-latest)
issues found
lint (macos-latest)
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 (macos-latest)
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 (macos-latest)
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-latest)
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-latest)
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 (ubuntu-latest)
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 (ubuntu-latest)
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']