Skip to content

Fix linter errors

Fix linter errors #7

Triggered via pull request August 8, 2023 14:44
Status Failure
Total duration 4m 10s
Artifacts

ci.yaml

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

Annotations

1 error and 20 warnings
Linter
issues found
Linter
Unexpected input(s) 'go-version', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
Linter
Unexpected input(s) 'go-version', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
Linter: session_factory.go#L349
if-return: redundant if ...; err != nil check, just return error instead. (revive)
Linter: validation.go#L291
if-return: redundant if ...; err != nil check, just return error instead. (revive)
Linter: validation.go#L152
unused-parameter: parameter 'msg' seems to be unused, consider removing or renaming it as _ (revive)
Linter: validation.go#L298
unused-parameter: parameter 'msg' seems to be unused, consider removing or renaming it as _ (revive)
Linter: validation.go#L330
unused-parameter: parameter 'validFields' seems to be unused, consider removing or renaming it as _ (revive)
Linter: sqlstore.go#L53
redefines-builtin-id: redefinition of the built-in function new (revive)
Linter: store.go#L136
unused-parameter: parameter 'sessionID' seems to be unused, consider removing or renaming it as _ (revive)
Linter: null_log.go#L23
unused-parameter: parameter 'format' seems to be unused, consider removing or renaming it as _ (revive)
Linter: null_log.go#L30
unused-parameter: parameter 'sessionID' seems to be unused, consider removing or renaming it as _ (revive)
build (1.19, fix40)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (1.19)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (1.19, fix42)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (1.19, fix41)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (1.19, fix43)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (1.19, fix44)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (1.19, fix50)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (1.19, fix50sp1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (1.19, fix50sp2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/