Use golangci-lint fmt to format code (#823)

Use `golangci-lint fmt` to format code, replacing the previous gofumpt-based formatter. https://github.com/daixiang0/gci is used to order the imports.

Also drops the `gitea-vet` dependency since `gci` now handles import ordering.

Mirrors https://github.com/go-gitea/gitea/pull/37194.

---
This PR was written with the help of Claude Opus 4.7

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/823
Reviewed-by: Nicolas <173651+bircni@noreply.gitea.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-committed-by: silverwind <me@silverwind.io>
This commit is contained in:
silverwind
2026-04-17 22:05:01 +00:00
committed by silverwind
parent 40dcee0991
commit 48944e136c
14 changed files with 54 additions and 79 deletions

1
.gitignore vendored
View File

@@ -2,7 +2,6 @@
.env
.runner
coverage.txt
/gitea-vet
/config.yaml
# Jetbrains