Skip to content

Commit 3e51adf

Browse files
committed
ci: update Go to 1.25
1 parent 9fd03cb commit 3e51adf

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install Go
2020
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.0.2
2121
with:
22-
go-version: '1.24'
22+
go-version: '1.25'
2323

2424
- name: Install staticcheck
2525
run: go install honnef.co/go/tools/cmd/staticcheck@latest

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
# Latest two supported releases.
16-
go-version: ['1.23', '1.24']
16+
go-version: ['1.24', '1.25']
1717
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, macos-13, macos-14, macos-15, windows-2022, windows-2025]
1818
runs-on: ${{ matrix.os }}
1919

@@ -27,15 +27,14 @@ jobs:
2727
go-version: ${{ matrix.go-version }}
2828

2929
- name: Check formatting
30-
if: ${{ matrix.go-version == '1.24' && matrix.os == 'ubuntu-24.04' }}
30+
if: ${{ matrix.go-version == '1.25' && matrix.os == 'ubuntu-24.04' }}
3131
run: diff -u <(echo -n) <(gofmt -d .)
3232

3333
- name: Check Go modules
34-
if: ${{ matrix.go-version == '1.24' && matrix.os == 'ubuntu-24.04' }}
34+
if: ${{ matrix.go-version == '1.25' && matrix.os == 'ubuntu-24.04' }}
3535
run: |
3636
go mod tidy -diff
3737
38-
3938
- name: Test (native)
4039
run: go test -v ./...
4140

0 commit comments

Comments
 (0)