Skip to content

fix linter issue

fix linter issue #5

Triggered via push July 3, 2024 11:55
Status Failure
Total duration 29s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 3 warnings
lint: hw02_unpack_string/unpack_test.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint: hw02_unpack_string/unpack_test.go#L6
File is not `gofmt`-ed with `-s` (gofmt)
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: hw02_unpack_string/unpack.go#L17
redefines-builtin-id: redefinition of the built-in type error (revive)
tests
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/.