kubernetes-sigs / bom

A utility to generate SPDX-compliant Bill of Materials manifests
https://kubernetes-sigs.github.io/bom/
Apache License 2.0
329 stars 48 forks source link

Update golangci-lint and fix lints #452

Closed saschagrunert closed 1 month ago

saschagrunert commented 2 months ago

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

Update the linter config and apply fixes.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

None

Does this PR introduce a user-facing change?

None
puerco commented 1 month ago

OK, the failing test should be fixed in https://github.com/kubernetes-sigs/bom/pull/462

puerco commented 1 month ago

/test pull-bom-check-embedded-data

k8s-ci-robot commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: puerco, saschagrunert

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/bom/blob/main/OWNERS)~~ [puerco,saschagrunert] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment