From 93f0ed0f53015831127fc1924dde598bed011b31 Mon Sep 17 00:00:00 2001 From: Denis Shevchenko Date: Mon, 3 Aug 2026 15:53:58 +0300 Subject: [PATCH 1/2] chore: bump go to 1.26 --- .github/workflows/go.yml | 4 ++-- Makefile | 2 +- go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1dee50d..8bca955 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -22,13 +22,13 @@ jobs: - name: Setup golangci-lint uses: golangci/golangci-lint-action@v8 with: - version: v2.1.6 + version: v2.10.1 args: --verbose test: strategy: matrix: os: [ubuntu-latest] - go: [1.21, 1.22, 1.23, 1.24] + go: [1.23, 1.24, 1.25, 1.26] include: - os: ubuntu-latest go-build: ~/.cache/go-build diff --git a/Makefile b/Makefile index f8c60a4..066d71c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ GO=go BUILD_PATH=./bin GOLANGCI_LINT=$(BUILD_PATH)/golangci-lint -GOLANGCI_LINT_VERSION=v2.1.6 +GOLANGCI_LINT_VERSION=v2.10.1 .PHONY: build clean test lint help docker diff --git a/go.mod b/go.mod index 6e97bde..97c21d6 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/holydocs/dberd -go 1.23.1 +go 1.26.4 require ( github.com/ClickHouse/clickhouse-go/v2 v2.36.0 From 0d9bab4018481d44fe3e8bfbbd2c7ca208887a67 Mon Sep 17 00:00:00 2001 From: Denis Shevchenko Date: Mon, 3 Aug 2026 15:58:52 +0300 Subject: [PATCH 2/2] fix: skip tables test --- dberd_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dberd_test.go b/dberd_test.go index 02e96d9..d313b23 100644 --- a/dberd_test.go +++ b/dberd_test.go @@ -310,8 +310,8 @@ func TestSchema_SkipTables(t *testing.T) { expected: Schema{ Tables: []Table{ {Name: "public.users"}, - {Name: "audit.goose_db_version"}, {Name: "public.schema_migrations"}, + {Name: "audit.goose_db_version"}, }, References: []Reference{usersToMigrations, usersToUsers}, },