Skip to content

Add PGP key retrieval endpoint #3397

Add PGP key retrieval endpoint

Add PGP key retrieval endpoint #3397

Triggered via pull request September 20, 2023 01:23
Status Failure
Total duration 1m 2s
Artifacts

golangci-lint.yml

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

Annotations

7 errors and 3 warnings
lint (linux): internal/pkg/api/handlePGPRequest.go#L50
SA4017: WithContext doesn't have side effects and its return value is ignored (staticcheck)
lint (linux): internal/pkg/api/handlePGPRequest.go#L63
File is not `goimports`-ed (goimports)
lint (linux): internal/pkg/api/handlePGPRequest.go#L84
`sucessfully` is a misspelling of `successfully` (misspell)
lint (linux): internal/pkg/api/handlePGPRequest.go#L109
ineffectual assignment to ctx (ineffassign)
lint (linux): internal/pkg/api/handlePGPRequest.go#L145
ineffectual assignment to ctx (ineffassign)
lint (linux): internal/pkg/api/handlePGPRequest.go#L161
G306: Expect WriteFile permissions to be 0600 or less (gosec)
lint (linux)
issues found
lint (linux)
The following actions uses node12 which is deprecated and will be forced to run on node16: golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (linux)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (linux)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/