From 3fea9b9481949c44048792c09d56d86bf1059bf6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Apr 2026 22:34:30 +0000 Subject: [PATCH] chore: bump Go version references to 1.26.2 Agent-Logs-Url: https://github.com/dikkadev/bangs/sessions/1f12163f-a4d4-44d6-80bc-3c0315d56806 Co-authored-by: dikkadev <64754924+dikkadev@users.noreply.github.com> --- .github/workflows/tests.yaml | 2 +- Dockerfile | 2 +- README.md | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index dd364d4..173d3fe 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.23' # As to be >= 1.22 because of for loop variable capturing + go-version: '1.26.2' - name: Set up Node.js uses: actions/setup-node@v4 diff --git a/Dockerfile b/Dockerfile index ceaac20..1e7a6f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN $HOME/.bun/bin/bun install RUN $HOME/.bun/bin/bun run build # --- Go Builder Stage --- -FROM golang:1.23-alpine AS builder +FROM golang:1.26.2-alpine AS builder ARG VERSION ARG TARGETOS diff --git a/README.md b/README.md index c8c7a4a..293acdc 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ The Docker image includes the pre-built web UI and the Go backend. ### Build from Source -Ensure you have [Go](https://golang.org/dl/) (version 1.21 or later) and [Bun](https://bun.sh/) installed. +Ensure you have [Go](https://golang.org/dl/) (version 1.26.2 or later) and [Bun](https://bun.sh/) installed. 1. **Clone the Repository** diff --git a/go.mod b/go.mod index 19ec1ee..37db3ea 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/dikkadev/bangs -go 1.24.0 +go 1.26.2 require ( github.com/dikkadev/prettyslog v0.0.0-20241019093312-edc39a9d900a