From f01056d111b66978d0de23762cf77130953e3c18 Mon Sep 17 00:00:00 2001 From: "anchore-actions-token-generator[bot]" <102182147+anchore-actions-token-generator[bot]@users.noreply.github.com> Date: Tue, 9 Dec 2025 11:00:08 -0500 Subject: [PATCH] chore(deps): update tools to latest versions (#4442) * chore(deps): update tools to latest versions Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore: suppress revive on internal/os package name golangci-lint has started flagging internal/os package name for shadowing the stdlib package named "os". Suppress this. Signed-off-by: Will Murphy --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Will Murphy Co-authored-by: spiffcs <32073428+spiffcs@users.noreply.github.com> Co-authored-by: Will Murphy --- .binny.yaml | 4 ++-- .golangci.yaml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.binny.yaml b/.binny.yaml index a7c9abb60..965d3c1c9 100644 --- a/.binny.yaml +++ b/.binny.yaml @@ -26,7 +26,7 @@ tools: # used for linting - name: golangci-lint version: - want: v2.6.2 + want: v2.7.2 method: github-release with: repo: golangci/golangci-lint @@ -58,7 +58,7 @@ tools: # used to release all artifacts - name: goreleaser version: - want: v2.13.0 + want: v2.13.1 method: github-release with: repo: goreleaser/goreleaser diff --git a/.golangci.yaml b/.golangci.yaml index 0978c1753..eacba69a6 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -49,6 +49,12 @@ linters: - common-false-positives - legacy - std-error-handling + rules: + # internal/os contains OS feature detection logic; the name reflects its purpose + - linters: + - revive + path: internal/os/ + text: "var-naming: avoid package names that conflict" paths: - third_party$ - builtin$