Skip to content

Add support for the new behaviour of for loops in go 1.22. #1816

Add support for the new behaviour of for loops in go 1.22.

Add support for the new behaviour of for loops in go 1.22. #1816

Re-run triggered May 30, 2024 07:47
Status Success
Total duration 44s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint: lint/package.go#L197
exported method Package.IsAtLeastGo122 should have comment or be unexported
Lint: lint/file.go#L191
parameter 'filename' seems to be unused, consider removing or renaming it as _
Lint: rule/datarace.go#L83
var getIds should be getIDs