1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/.github
Oleksandr Redko 00a376cc64
refactor: remove unneeded in Go 1.22 loop var copy (#4856)
The PR cleans up unnecessary loop variable copying and enables the
[`copyloopvar`](https://golangci-lint.run/usage/linters/#copyloopvar)
linter for detecting this redundant variable copying.

#### Additional notes

After the project upgraded to Go version 1.22 in #4779, copying
variables inside a `for` loop became unnecessary. See this [blog
post](https://go.dev/blog/loopvar-preview) for a detailed explanation.

The `copyloopvar` linter is only available from `golangci-lint` v1.57
onwards, so we also need to update this tool.
2024-05-12 13:21:13 -03:00
..
ISSUE_TEMPLATE docs: typo fix 2023-06-25 05:34:14 +00:00
workflows refactor: remove unneeded in Go 1.22 loop var copy (#4856) 2024-05-12 13:21:13 -03:00
CODEOWNERS chore: codeowners 2019-10-10 08:44:42 -03:00
dependabot.yml ci: change dependabot commit prefix to chore 2024-01-11 23:05:21 -03:00
PULL_REQUEST_TEMPLATE.md chore: update pr template 2021-05-20 14:26:47 -03:00
stale.yml chore: stale after 14 days 2018-10-30 21:25:48 -03:00