From 11c94403ecc0b9e546d3bf38984eb9eddc222b2c Mon Sep 17 00:00:00 2001 From: Vincent Young Date: Thu, 8 Oct 2026 03:25:28 -0700 Subject: [PATCH] build: bump Go toolchain to 1.27 Raise go.mod to 1.27.0 and the Dockerfile builder to golang:1.27. Pin setup-go in the CI and release workflows to 1.27.1 so they match the module's minimum instead of lagging behind it (previously 1.24.2 vs go 1.25.0). --- .github/workflows/ci.yaml | 2 +- .github/workflows/release.yaml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0d8d255..0732d41 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.24.2' + go-version: '1.27.1' - name: Install golint run: go install golang.org/x/lint/golint@latest diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6a7c42e..e04b694 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -32,7 +32,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: "1.24.2" + go-version: "1.27.1" - name: Build env: diff --git a/Dockerfile b/Dockerfile index 2225daf..b7f1537 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.25 AS builder +FROM golang:1.27 AS builder WORKDIR /go/src/github.com/OwO-Network/DLX COPY . . RUN go get -d -v ./ diff --git a/go.mod b/go.mod index 7f8c98b..c5fd2b6 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/OwO-Network/DLX -go 1.25.0 +go 1.27.0 require ( github.com/andybalholm/brotli v1.2.2