Skip to content

Commit ad3d4a7

Browse files
committed
Upgrade to Go 1.25
1 parent 8c35e61 commit ad3d4a7

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ jobs:
2828
- name: Install Go
2929
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
3030
with:
31-
# NOTE: Keep this in sync with the version from go.mod
32-
go-version: "1.25.x"
31+
go-version-file: go.mod
3332

3433
- name: Run Benchmark
3534
run: set -o pipefail; go test ./... -benchmem -run=^$ -bench . | tee output.txt

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
Build:
2323
strategy:
2424
matrix:
25-
go-version: [1.24.x, 1.25.x]
25+
go-version: [1.25.x, 1.26.x]
2626
platform: [ubuntu-latest, windows-latest, macos-latest]
2727
runs-on: ${{ matrix.platform }}
2828
steps:
@@ -44,7 +44,7 @@ jobs:
4444
run: gotestsum -f testname -- ./... -race -count=1 -coverprofile=coverage.txt -covermode=atomic -shuffle=on
4545

4646
- name: Upload coverage reports to Codecov
47-
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.go-version == '1.25.x' }}
47+
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.go-version == '1.26.x' }}
4848
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6
4949
with:
5050
token: ${{ secrets.CODECOV_TOKEN }}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/gofiber/utils/v2
22

3-
go 1.24.0
3+
go 1.25.0
44

55
require (
66
github.com/fxamacker/cbor/v2 v2.9.2

0 commit comments

Comments
 (0)