Skip to content

Commit 4b318bb

Browse files
committed
ci: update Go to 1.24
1 parent a393138 commit 4b318bb

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
env:
22
CIRRUS_CLONE_DEPTH: 1
3-
GO_VERSION: go1.23.0
3+
GO_VERSION: go1.24.0
44

55
freebsd_13_task:
66
freebsd_instance:

.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@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.0.2
2121
with:
22-
go-version: '1.23'
22+
go-version: '1.24'
2323

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

.github/workflows/test.yml

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

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

2929
- name: Check formatting
30-
if: ${{ matrix.go-version == '1.23' && matrix.os == 'ubuntu-24.04' }}
30+
if: ${{ matrix.go-version == '1.24' && 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.23' && matrix.os == 'ubuntu-24.04' }}
34+
if: ${{ matrix.go-version == '1.24' && matrix.os == 'ubuntu-24.04' }}
3535
run: |
3636
go mod tidy
3737
git diff --exit-code
3838
3939
- name: Generate
40-
if: ${{ matrix.go-version == '1.23' }}
40+
if: ${{ matrix.go-version == '1.24' }}
4141
run: |
4242
go generate
4343
git diff --exit-code

0 commit comments

Comments
 (0)