Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

init/linter: add linter to github workflow jobs #71

init/linter: add linter to github workflow jobs

init/linter: add linter to github workflow jobs #71

Triggered via pull request August 26, 2024 16:58
Status Failure
Total duration 3m 4s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
lint: providers/static/provider_test.go#L29
S1009: should omit nil check; len() for map[github.com/KaymeKaydex/go-vshard-router.ReplicasetInfo][]github.com/KaymeKaydex/go-vshard-router.InstanceInfo is defined as zero (gosimple)
lint
issues found
lint: providers/static/provider_test.go#L29
S1009: should omit nil check; len() for map[github.com/KaymeKaydex/go-vshard-router.ReplicasetInfo][]github.com/KaymeKaydex/go-vshard-router.InstanceInfo is defined as zero (gosimple)
lint
issues found
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, 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/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/