From c4f09a8937b9598816f65d1a18e8dae1fb444ec7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2026 23:01:26 +0000 Subject: [PATCH 1/2] Bump golangci/golangci-lint-action from 6 to 9 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 9. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v6...v9) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-version: '9' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index cc2ec1d00f..4bc21bdb87 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/setup-go@v6 with: go-version-file: acceptance-tests/go.mod - - uses: golangci/golangci-lint-action@v6 + - uses: golangci/golangci-lint-action@v9 with: working-directory: acceptance-tests - name: Dry Run acceptance-tests From 4faa0fbd3bc59755b773c670efff5eb0662a9acb Mon Sep 17 00:00:00 2001 From: aram price Date: Thu, 9 Apr 2026 16:31:12 -0700 Subject: [PATCH 2/2] Lint: add config - add //nolint --- acceptance-tests/.golangci.yml | 12 ++++++++++++ acceptance-tests/testhelpers/bosh.go | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 acceptance-tests/.golangci.yml diff --git a/acceptance-tests/.golangci.yml b/acceptance-tests/.golangci.yml new file mode 100644 index 0000000000..fa73478703 --- /dev/null +++ b/acceptance-tests/.golangci.yml @@ -0,0 +1,12 @@ +version: "2" + +linters: + default: standard + + settings: + errcheck: + check-blank: true # assignment to blank identifier: `_ := someFunc()`. + +formatters: + enable: + - goimports diff --git a/acceptance-tests/testhelpers/bosh.go b/acceptance-tests/testhelpers/bosh.go index 84d18ebd05..fbd397402d 100644 --- a/acceptance-tests/testhelpers/bosh.go +++ b/acceptance-tests/testhelpers/bosh.go @@ -7,7 +7,7 @@ import ( boshlog "github.com/cloudfoundry/bosh-utils/logger" "github.com/cloudfoundry/bosh-utils/system" - . "github.com/onsi/gomega" + . "github.com/onsi/gomega" //nolint:staticcheck ) type BOSH struct {