Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore(deps): update dependency golangci/golangci-lint to v2.15.0 (#21773)

renovate[bot]6598732dc4d4
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6c713f5dc0..2da9718d0d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -82,7 +82,7 @@ jobs:
uses: golangci/golangci-lint-action@v9
with:
# renovate: datasource=github-releases depName=golangci/golangci-lint
- version: v2.14.0
+ version: v2.15.0
install-only: true
skip-cache: true
- name: Verify Go version compatibility
diff --git a/.golangci.yaml b/.golangci.yaml
index bcbef2054b..ac49804812 100644
--- a/.golangci.yaml
+++ b/.golangci.yaml
@@ -22,7 +22,7 @@ linters:
- (*database/sql.Tx).Rollback
- (github.com/jackc/pgx/v5.Tx).Rollback
exhaustive:
- explicit-exhaustive-switch: true
+ explicit-exhaustive: true
forbidigo:
forbid:
- pattern: fmt\.Errorf
diff --git a/backend/bin/server/cmd/recovery_test.go b/backend/bin/server/cmd/recovery_test.go
index d12f2f4672..2ecbcc2463 100644
--- a/backend/bin/server/cmd/recovery_test.go
+++ b/backend/bin/server/cmd/recovery_test.go
@@ -666,8 +666,7 @@ func TestRecoveryCommandContract(t *testing.T) {
require.Equal(t, 1, *closeCount)
case <-time.After(time.Second):
close(input.release)
- <-done
- t.Fatal("recovery did not exit while the menu read was blocked")
+ t.Fatalf("recovery did not exit while the menu read was blocked; it returned %v", <-done)
}
})
}