chore: update golangci-lint to v2 and fix breakage (#184)

deps: update golangci/golangci-lint-action action to v8

Co-authored-by: Julian Tölle <julian.toelle97@gmail.com>
This commit is contained in:
renovate[bot] 2025-06-07 16:39:18 +00:00 committed by GitHub
parent 49855aa700
commit e3ecd8993c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 {