Skip to content

add async and example #80

add async and example

add async and example #80

Triggered via pull request April 29, 2024 08:21
Status Failure
Total duration 30s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: netutil/util.go#L48
Error return value of `conn.Close` is not checked (errcheck)
lint: netutil/util.go#L153
func `getIP` is unused (unused)
lint: netutil/ip.go#L156
exporting a pointer for the loop variable ip2 (exportloopref)
lint: netutil/util.go#L83
shadow: declaration of "err" shadows declaration at line 76 (govet)
lint: netutil/util.go#L165
shadow: declaration of "netIP" shadows declaration at line 156 (govet)
lint: typex/lock_map_test.go#L13
expected-actual: need to reverse actual and expected values (testifylint)
lint: config/util_test.go#L15
error-nil: use assert.NoError (testifylint)
lint: config/util_test.go#L16
expected-actual: need to reverse actual and expected values (testifylint)
lint: config/util_test.go#L20
error-nil: use assert.NoError (testifylint)
lint: config/util_test.go#L21
expected-actual: need to reverse actual and expected values (testifylint)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@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/