Update to Go 1.25
This commit is contained in:
@@ -5,7 +5,8 @@ on:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '**.go'
|
||||
- '**/*.go'
|
||||
- 'go.*'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -23,7 +24,7 @@ jobs:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.24.x'
|
||||
go-version: '1.25.x'
|
||||
|
||||
- name: Download dependencies
|
||||
run: go mod download
|
||||
@@ -42,9 +43,9 @@ jobs:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.24.x'
|
||||
go-version: '1.25.x'
|
||||
|
||||
- name: Run golangci-lint
|
||||
uses: golangci/golangci-lint-action@v8
|
||||
with:
|
||||
version: 'v2.1'
|
||||
version: 'v2.4'
|
||||
|
||||
@@ -2,3 +2,15 @@ version: "2"
|
||||
|
||||
run:
|
||||
timeout: 5m
|
||||
|
||||
formatters:
|
||||
enable:
|
||||
- gofmt
|
||||
- goimports
|
||||
|
||||
exclusions:
|
||||
generated: lax
|
||||
paths:
|
||||
- third_party$
|
||||
- builtin$
|
||||
- examples$
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
gobuilder: "golang:1.24-alpine",
|
||||
golangcilint: "golangci/golangci-lint:v2.1-alpine",
|
||||
gobuilder: "mirror.gcr.io/golang:1.25-alpine",
|
||||
golangcilint: "mirror.gcr.io/golangci/golangci-lint:v2.4-alpine",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user