From 1765e36f95b6e43a8245ec89ba0a63ff030e52b6 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sun, 20 Sep 2026 18:05:35 +0000 Subject: [PATCH] CI: Add go 1.27 --- .github/workflows/tests.yml | 17 +++++++++++------ docker/Dockerfile | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 92ccf730c..f94e78110 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ permissions: contents: read env: - latest_go: "1.26.x" + latest_go: "1.27.x" GO111MODULE: on jobs: @@ -23,27 +23,32 @@ jobs: # list of jobs to run: include: - job_name: Windows - go: 1.26.x + go: 1.27.x os: windows-latest - job_name: macOS - go: 1.26.x + go: 1.27.x os: macOS-latest test_fuse: false - job_name: Linux - go: 1.26.x + go: 1.27.x os: ubuntu-latest test_cloud_backends: true test_fuse: true check_changelog: true - job_name: Linux (race) - go: 1.26.x + go: 1.27.x os: ubuntu-latest test_fuse: true test_opts: "-race" + - job_name: Linux + go: 1.26.x + os: ubuntu-latest + test_fuse: true + - job_name: Linux go: 1.25.x os: ubuntu-latest @@ -266,7 +271,7 @@ jobs: uses: golangci/golangci-lint-action@v9 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v2.12 + version: v2.13 args: --verbose --timeout 5m # only run golangci-lint for pull requests, otherwise ALL hints get diff --git a/docker/Dockerfile b/docker/Dockerfile index 22629761f..d9f81ded3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.26-alpine AS builder +FROM golang:1.27-alpine AS builder WORKDIR /go/src/github.com/restic/restic