CI: Add go 1.27

This commit is contained in:
Michael Eischer
2026-09-20 21:28:40 +02:00
parent 9c86adb783
commit 1765e36f95
2 changed files with 12 additions and 7 deletions
+11 -6
View File
@@ -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
+1 -1
View File
@@ -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