diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 250e64a..acc4302 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -80,7 +80,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.25' + go-version: '1.26.10' # The two-companions-on-one-slot scenario needs a binary that runs # inside the container, not on the runner. - name: Build the companion for linux @@ -110,7 +110,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.25' + go-version: '1.26.10' - name: Build the companion for linux run: | GOOS=linux GOARCH=amd64 go build -C companion \ @@ -158,7 +158,7 @@ jobs: with: # Matches companion/go.mod. Both pglogrepl and pgx/v5 declare # go 1.25.0, so the module cannot ask for less. - go-version: '1.25' + go-version: '1.26.10' cache-dependency-path: companion/go.sum - name: Vet the companion run: cd companion && go vet ./... diff --git a/cli/go.mod b/cli/go.mod index 6c31457..965734c 100644 --- a/cli/go.mod +++ b/cli/go.mod @@ -1,6 +1,6 @@ module github.com/pgedge/pgvolvra/cli -go 1.25.0 +go 1.26.10 require ( github.com/jackc/pgx/v5 v5.9.1 diff --git a/companion/go.mod b/companion/go.mod index 58ca592..9d3978a 100644 --- a/companion/go.mod +++ b/companion/go.mod @@ -1,10 +1,11 @@ module github.com/pgedge/pgvolvra/companion -go 1.25.0 +go 1.26.10 require ( github.com/jackc/pglogrepl v0.0.0-20260824121319-4ae5c490f7ce github.com/jackc/pgx/v5 v5.9.1 + github.com/minio/minio-go/v7 v7.3.0 ) require ( @@ -19,7 +20,6 @@ require ( github.com/klauspost/crc32 v1.3.0 // indirect github.com/minio/crc64nvme v1.1.1 // indirect github.com/minio/md5-simd v1.1.2 // indirect - github.com/minio/minio-go/v7 v7.3.0 // indirect github.com/philhofer/fwd v1.2.0 // indirect github.com/rs/xid v1.6.0 // indirect github.com/tinylib/msgp v1.6.4 // indirect diff --git a/companion/go.sum b/companion/go.sum index bb3302d..c4de1a6 100644 --- a/companion/go.sum +++ b/companion/go.sum @@ -51,6 +51,8 @@ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= github.com/tinylib/msgp v1.6.4 h1:mOwYbyYDLPj35mkA2BjjYejgJk9BuHxDdvRnb6v2ZcQ= github.com/tinylib/msgp v1.6.4/go.mod h1:RSp0LW9oSxFut3KzESt5Voq4GVWyS+PSulT77roAqEA= +github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ= +github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= github.com/zeebo/xxh3 v1.1.0 h1:s7DLGDK45Dyfg7++yxI0khrfwq9661w9EN78eP/UZVs= github.com/zeebo/xxh3 v1.1.0/go.mod h1:IisAie1LELR4xhVinxWS5+zf1lA4p0MW4T+w+W07F5s= go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= @@ -59,12 +61,10 @@ golang.org/x/crypto v0.55.0 h1:+KWHjbgOaAQ66dh/YlkZKHlz9ZUlq61AFirAR9ntP8M= golang.org/x/crypto v0.55.0/go.mod h1:uq0V9dE/fzQuJtbnL+2EhWOE63vo164FY8xqEnV9xis= golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To= golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU= -golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4= -golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= +golang.org/x/sync v0.22.0 h1:SZjpbeLmrCk4xhRSZFNZW5gFUeCeFgjekvI/+gfScek= +golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs= golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= -golang.org/x/text v0.35.0 h1:JOVx6vVDFokkpaq1AEptVzLTpDe9KGpj5tR4/X+ybL8= -golang.org/x/text v0.35.0/go.mod h1:khi/HExzZJ2pGnjenulevKNX1W67CUy0AsXcNubPGCA= golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/docs/cli_reference.md b/docs/cli_reference.md index c575010..385807b 100644 --- a/docs/cli_reference.md +++ b/docs/cli_reference.md @@ -51,7 +51,7 @@ table above, against a real database reached by hostname. ## Building the tool The tool is a single Go binary in `cli/`, with no runtime -dependencies. Build the tool with Go 1.25 or later: +dependencies. Build the tool with Go 1.26.10 or later: ```bash make -C cli