From 8f32b9d42173241799791bd38db13936aaeb4a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20W=C3=B3jcik?= Date: Wed, 21 Oct 2026 11:18:19 +0200 Subject: [PATCH] build: compile releases and the Docker image with Go 1.26 --- .github/workflows/ci.yml | 2 ++ .github/workflows/goreleaser.yml | 4 ++-- Dockerfile | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eceb7f72f..a71c5fb00 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,7 @@ jobs: strategy: matrix: go-version: + - 1.26.x - 1.22.x - 1.21.x - 1.20.x @@ -33,6 +34,7 @@ jobs: strategy: matrix: go-version: + - 1.26.x - 1.22.x - 1.21.x - 1.20.x diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 56a75b477..d2606dec6 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: 1.22.x + go-version: 1.26.x - run: make test_without_race env: S5CMD_ACCESS_KEY_ID: ${{ secrets.S5CMD_GCS_ACCESS_KEY_ID }} @@ -34,7 +34,7 @@ jobs: name: Set up Go uses: actions/setup-go@v2 with: - go-version: '1.22' + go-version: '1.26' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 diff --git a/Dockerfile b/Dockerfile index 0320c5cbb..4d3adb418 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22-alpine AS build +FROM golang:1.26-alpine AS build COPY . /s5cmd/ RUN apk add --no-cache git make && \ cd /s5cmd/ && \