From 791ffd6bc54e42b7297cbba2ba09cd2b8df96164 Mon Sep 17 00:00:00 2001 From: Andrew Nesbitt Date: Wed, 12 Aug 2026 19:52:38 +0100 Subject: [PATCH 1/2] Upgrade to Go 1.26.5 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/swagger.yml | 2 +- README.md | 2 +- go.mod | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb3d87d..9dc4429 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - go-version: ['1.25'] + go-version: ['1.26.5'] runs-on: ${{ matrix.os }} steps: @@ -42,7 +42,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version: '1.25' + go-version: '1.26.5' - name: golangci-lint run: go tool golangci-lint run ./... diff --git a/.github/workflows/swagger.yml b/.github/workflows/swagger.yml index 625f944..03cd5ec 100644 --- a/.github/workflows/swagger.yml +++ b/.github/workflows/swagger.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version: '1.25' + go-version: '1.26.5' - name: Install swag run: go install github.com/swaggo/swag/cmd/swag@latest diff --git a/README.md b/README.md index 01012e2..3ee83cb 100644 --- a/README.md +++ b/README.md @@ -1024,7 +1024,7 @@ The proxy will recreate the database on next start. Requirements: -- Go 1.25 or later +- Go 1.26.5 or later ```bash git clone https://github.com/git-pkgs/proxy.git diff --git a/go.mod b/go.mod index 3449818..e06f91e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/git-pkgs/proxy -go 1.25.6 +go 1.26.5 require ( github.com/BurntSushi/toml v1.6.0 From c54d9b338b205c789ceeb84dfcdc5c4f96e9a093 Mon Sep 17 00:00:00 2001 From: Andrew Nesbitt Date: Fri, 14 Aug 2026 10:10:00 +0100 Subject: [PATCH 2/2] Use go.mod to select Go 1.26.6 --- .github/workflows/ci.yml | 5 ++--- .github/workflows/swagger.yml | 2 +- Dockerfile | 2 +- README.md | 2 +- go.mod | 4 +++- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9dc4429..cd4058f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,6 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - go-version: ['1.26.5'] runs-on: ${{ matrix.os }} steps: @@ -24,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version: ${{ matrix.go-version }} + go-version-file: go.mod - name: Build run: go build -v ./... @@ -42,7 +41,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version: '1.26.5' + go-version-file: go.mod - name: golangci-lint run: go tool golangci-lint run ./... diff --git a/.github/workflows/swagger.yml b/.github/workflows/swagger.yml index 03cd5ec..38c42c3 100644 --- a/.github/workflows/swagger.yml +++ b/.github/workflows/swagger.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version: '1.26.5' + go-version-file: go.mod - name: Install swag run: go install github.com/swaggo/swag/cmd/swag@latest diff --git a/Dockerfile b/Dockerfile index 9c51d30..9a64c5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.26.5-alpine AS builder +FROM --platform=$BUILDPLATFORM golang:1.26.6-alpine AS builder WORKDIR /src diff --git a/README.md b/README.md index 3ee83cb..ab42766 100644 --- a/README.md +++ b/README.md @@ -1024,7 +1024,7 @@ The proxy will recreate the database on next start. Requirements: -- Go 1.26.5 or later +- Go (the project version is declared in `go.mod`) ```bash git clone https://github.com/git-pkgs/proxy.git diff --git a/go.mod b/go.mod index e06f91e..8c7165a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/git-pkgs/proxy -go 1.26.5 +go 1.25.6 + +toolchain go1.26.6 require ( github.com/BurntSushi/toml v1.6.0