forgejo/modules/actions
Gusted 77dbc35138 chore: add modernizer linter (#11936)
- Go has a suite of small linters that helps with modernizing Go code by using newer functions and catching small mistakes, https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/modernize.
- Enable this linter in golangci-lint.
- There's also [`go fix`](https://go.dev/blog/gofix), which is not yet released as a linter in golangci-lint: https://github.com/golangci/golangci-lint/pull/6385

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11936
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2026-04-02 03:29:37 +02:00
..
github.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
github_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
job_parser.go Update module code.forgejo.org/forgejo/runner/v11 to v12 (forgejo) (#10213) 2025-11-23 15:58:57 +01:00
job_parser_test.go chore(refactor): move actions_service.jobParser to actions_module.jobParser 2025-11-06 07:28:16 +01:00
log.go chore: add more diagnostic output to dbfs Stat error (#11525) 2026-03-06 06:43:33 +01:00
task_state.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
task_state_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
workflows.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
workflows_test.go feat: show workflow name for scheduled runs (#11770) 2026-03-24 01:27:32 +01:00