From 3026a1e21dbd8eb781209cafa2cd800cc01bf8db Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Dec 2025 22:56:41 +0000 Subject: [PATCH] build(deps): bump golangci/golangci-lint-action from 8 to 9 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 8 to 9. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v8...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/ci.yml | 2 +- client.go | 2 +- retry/exp_backoff_test.go | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4dbae0..e709352 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,6 @@ jobs: go-version: ${{ matrix.go }} cache: true - name: golangci-lint - uses: golangci/golangci-lint-action@v8 + uses: golangci/golangci-lint-action@v9 with: version: ${{ matrix.lint }} diff --git a/client.go b/client.go index 07eb1dd..8aae299 100644 --- a/client.go +++ b/client.go @@ -326,5 +326,5 @@ func rawResponseFromErr(err error) []byte { } // if the error is not an HTTPError return instead the error's details - return []byte(fmt.Sprintf("%v", err)) + return fmt.Appendf(nil, "%v", err) } diff --git a/retry/exp_backoff_test.go b/retry/exp_backoff_test.go index a94d0bf..71e8a0a 100644 --- a/retry/exp_backoff_test.go +++ b/retry/exp_backoff_test.go @@ -1,5 +1,4 @@ //go:build integrationtest || !unittest -// +build integrationtest !unittest package retry_test