Update GitHub workflow Go version #94
Annotations
10 errors and 4 warnings
lint:
common_test.go#L139
Error return value of `mime.ParseMediaType` is not checked (errcheck)
|
lint:
common_test.go#L146
Error return value of `mime.ParseMediaType` is not checked (errcheck)
|
lint:
common_test.go#L153
Error return value of `mime.ParseMediaType` is not checked (errcheck)
|
lint:
util_test.go#L17
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
|
lint:
util_test.go#L27
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
|
lint:
common_test.go#L8
import 'github.com/tdewolff/test' is not allowed from list 'Main' (depguard)
|
lint:
error_test.go#L7
import 'github.com/tdewolff/test' is not allowed from list 'Main' (depguard)
|
lint:
input_test.go#L8
import 'github.com/tdewolff/test' is not allowed from list 'Main' (depguard)
|
lint:
position.go#L51
naked return in func `Position` with 40 lines of code (nakedret)
|
lint:
position.go#L94
naked return in func `positionContext` with 41 lines of code (nakedret)
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|
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/
|
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/
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, 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/
|