Skip to content

fix: ci using goreleaser and github #3

fix: ci using goreleaser and github

fix: ci using goreleaser and github #3

Triggered via push March 2, 2024 14:15
Status Failure
Total duration 17s
Artifacts

lint.yaml

on: push
golangci-lint
9s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
golangci-lint: pkg/iap/iap.go#L28
S1002: should omit comparison to bool constant, can be simplified to `!result` (gosimple)
golangci-lint: pkg/token/token.go#L31
ineffectual assignment to err (ineffassign)
golangci-lint: main.go#L19
ineffectual assignment to err (ineffassign)
golangci-lint: pkg/jws/jws.go#L7
SA1019: "golang.org/x/oauth2/jws" is deprecated: this package is not intended for public use and might be removed in the future. It exists for internal use only. Please switch to another JWS package or copy this package into your own source tree. (staticcheck)
golangci-lint: pkg/token/token.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
golangci-lint: pkg/iap/iap.go#L4
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
golangci-lint: pkg/proxy/backend_test.go#L4
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
golangci-lint
issues found
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, 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/
golangci-lint
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/
golangci-lint
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/