From 1b1c6b9ef5ae92ffb365d777a4a0fe2f7bc75b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Eckerstr=C3=B6m?= Date: Wed, 17 Dec 2025 06:41:30 +0100 Subject: [PATCH] CI: Bump to golang 1.25, just test one version, bump actions --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/release.yml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccfd05a..00f6c9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,18 +11,18 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: [1.21, 1.22, 1.23] + go-version: ['1.25'] steps: - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Cache Go modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache/go-build @@ -49,7 +49,7 @@ jobs: run: go test -v -race -coverprofile=coverage.out ./... - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 with: file: ./coverage.out diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43fb134..29b1c92 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,19 +38,19 @@ jobs: - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: '1.23' + go-version: '1.25' - name: Cache Go modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache/go-build ~/go/pkg/mod - key: ${{ runner.os }}-go-1.23-${{ hashFiles('**/go.sum') }} + key: ${{ runner.os }}-go-1.25-${{ hashFiles('**/go.sum') }} restore-keys: | - ${{ runner.os }}-go-1.23- + ${{ runner.os }}-go-1.25- - name: Download dependencies run: go mod download