Skip to content

Remove PGP signature verification skip for DEV builds #6019

Remove PGP signature verification skip for DEV builds

Remove PGP signature verification skip for DEV builds #6019

Triggered via pull request October 13, 2023 10:03
Status Failure
Total duration 5m 54s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

golangci-lint.yml

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

Annotations

10 errors and 6 warnings
lint (ubuntu-latest): internal/pkg/agent/application/upgrade/artifact/download/fs/verifier.go#L121
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (ubuntu-latest): internal/pkg/agent/application/upgrade/artifact/download/verifier.go#L120
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (ubuntu-latest): testing/pgptest/pgp.go#L9
SA1019: "golang.org/x/crypto/openpgp" is deprecated: this package is unmaintained except for security fixes. New applications should consider a more focused, modern alternative to OpenPGP for their specific task. If you are required to interoperate with OpenPGP systems and need a maintained package, consider a community fork. See https://golang.org/issue/44226. (staticcheck)
lint (ubuntu-latest): testing/pgptest/pgp.go#L10
SA1019: "golang.org/x/crypto/openpgp/armor" is deprecated: this package is unmaintained except for security fixes. New applications should consider a more focused, modern alternative to OpenPGP for their specific task. If you are required to interoperate with OpenPGP systems and need a maintained package, consider a community fork. See https://golang.org/issue/44226. (staticcheck)
lint (ubuntu-latest): testing/pgptest/pgp.go#L20
ineffectual assignment to err (ineffassign)
lint (ubuntu-latest)
issues found
lint (windows-latest)
The job was canceled because "ubuntu-latest" failed.
lint (windows-latest)
The operation was canceled.
lint (macos-latest)
The job was canceled because "ubuntu-latest" failed.
lint (macos-latest)
The operation was canceled.
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']
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 (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']