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/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}, }, 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