chore: add add renovate repository #269
Annotations
10 errors and 11 warnings
Lint:
api/api.go#L26
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/satisfactorymodding/smr-api) -s blank -s dot --custom-order (gci)
|
Lint:
api/api.go#L48
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/satisfactorymodding/smr-api) -s blank -s dot --custom-order (gci)
|
Lint:
config/config.go#L8
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/satisfactorymodding/smr-api) -s blank -s dot --custom-order (gci)
|
Lint:
gql/gql_utils.go#L21
func `TraceWrapper.end` is unused (unused)
|
Lint:
logging/promtail.go#L44
named return "n" with type "int" found (nonamedreturns)
|
Lint:
logging/common.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)
|
Lint:
logging/common.go#L39
error returned from external package is unwrapped: sig: func net/http.NewRequest(method string, url string, body io.Reader) (*net/http.Request, error) (wrapcheck)
|
Lint:
logging/common.go#L46
error returned from external package is unwrapped: sig: func (*net/http.Client).Do(req *net/http.Request) (*net/http.Response, error) (wrapcheck)
|
Lint:
logging/common.go#L52
error returned from external package is unwrapped: sig: func io/ioutil.ReadAll(r io.Reader) ([]byte, error) (wrapcheck)
|
Lint
issues found
|
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@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:
gql/resolver_oauth.go#L17
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
gql/resolver_sml_versions.go#L180
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
gql/resolver_versions.go#L229
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
logging/promtail.go#L30
unexported-return: exported func NewClientProto returns unexported type *logging.clientJson, which can be annoying to use (revive)
|
Lint:
logging/promtail.go#L22
var-naming: type clientJson should be clientJSON (revive)
|
Lint:
logging/common.go#L12
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
Lint:
logging/common.go#L36
var-naming: method sendJsonReq should be sendJSONReq (revive)
|
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, codecov/codecov-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: codecov/codecov-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|