Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

feat(warden): added API for wardenTeamList and updateGroupByShieldMetaData #682

feat(warden): added API for wardenTeamList and updateGroupByShieldMetaData

feat(warden): added API for wardenTeamList and updateGroupByShieldMetaData #682

Triggered via pull request October 23, 2023 07:54
@sudheerpalsudheerpal
synchronize #72
warden-api
Status Failure
Total duration 58s
Artifacts

lint.yml

on: pull_request
golangci-lint
47s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
golangci-lint: warden/client.go#L46
commentedOutCode: may want to remove commented-out code (gocritic)
golangci-lint: warden/client.go#L82
commentedOutCode: may want to remove commented-out code (gocritic)
golangci-lint: warden/client.go#L48
unnecessary trailing newline (whitespace)
golangci-lint: warden/client.go#L47
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"got non-200 http status code=(%d) body=%s\", resp.StatusCode, bodyString)" (goerr113)
golangci-lint: warden/client.go#L83
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"got non-200 http status code=(%d) body=%s\", resp.StatusCode, bodyString)" (goerr113)
golangci-lint
issues found
golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@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/