chore: upgrade to Go 1.25 and golangci-lint v2.5.0

Update Go to 1.25 and golangci-lint to v2.5.0 for better tooling support.
This commit is contained in:
Vito Castellano 2025-10-11 02:09:34 +02:00
commit 741ea99d8c
No known key found for this signature in database
GPG key ID: E13085DB38BC5819
3 changed files with 5 additions and 5 deletions

View file

@ -16,11 +16,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
go-version: '1.25'
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.1
version: v2.5.0
skip-cache: true
build:
@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
go-version: '1.25'
- name: Get dependencies
run: go mod download
- name: Build

View file

@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
go-version: '1.25'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6

View file

@ -1,7 +1,7 @@
FROM golang:1.25
# Install dependencies
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.1.6
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.5.0
RUN go install github.com/goreleaser/goreleaser/v2@latest
WORKDIR /app