chore: update golangci-lint to v2 and fix breakage

deps: update golangci/golangci-lint-action action to v8
This commit is contained in:
Julian Tölle 2025-06-07 18:36:26 +02:00
parent f49481cd92
commit cc84c29e8d
5 changed files with 53 additions and 21 deletions

View file

@ -113,7 +113,7 @@ func (r *Repository) UpdateFile(_ context.Context, path string, create bool, upd
if err != nil {
return err
}
defer file.Close()
defer file.Close() //nolint:errcheck
content, err := io.ReadAll(file)
if err != nil {