From f0b5a39d802a4db0245f225a3f68d71efd866f1b Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Tue, 18 Mar 2025 07:49:38 +0100 Subject: [PATCH] ci: go 1.24 --- .github/workflows/build.yml | 2 +- .github/workflows/lint.yml | 4 ++-- .github/workflows/test.yml | 2 +- Dockerfile | 2 +- go.mod | 4 +--- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0df6b0a..171d84b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.23.x" + go-version: "1.24.x" - run: go build . env: CGO_ENABLED: '0' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index de6b87e..de0d366 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.23.x" + go-version: "1.24.x" - uses: golangci/golangci-lint-action@v6 with: - version: "v1.62" + version: "v1.64" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8881fa..0bb9084 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,6 +16,6 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.23.x" + go-version: "1.24.x" - name: Run test with coverage run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... diff --git a/Dockerfile b/Dockerfile index 74cf207..b42daa6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.23-alpine3.20 AS build +FROM golang:1.24-alpine3.20 AS build ARG VERSION="untracked" diff --git a/go.mod b/go.mod index 899945a..0de094d 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/hacdias/webdav/v5 -go 1.23.0 - -toolchain go1.24.0 +go 1.24.0 require ( github.com/coreos/go-systemd/v22 v22.5.0