Skip to content

Commit 5a7e74b

Browse files
committed
Resolve CI runner failures for ubuntu24.04
Older Golang versions are not supported on the latest ubuntu runner image. actions/runner-images#10636
1 parent b5e708c commit 5a7e74b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ on:
1919
push:
2020
tags:
2121
- v*
22-
branches:
23-
- main
22+
branches: [main]
2423
pull_request:
24+
branches: [main]
2525

2626
jobs:
2727
build:
2828
strategy:
2929
matrix:
30-
go-version: [1.19.x, 1.20.x]
30+
go-version: [1.21.x, 1.22.x]
3131
os: [macos-latest, ubuntu-latest]
3232

3333
name: Build/Test (${{ matrix.os}}, Go ${{ matrix.go-version }})
@@ -61,7 +61,7 @@ jobs:
6161
lint:
6262
strategy:
6363
matrix:
64-
go-version: [1.19.x]
64+
go-version: [1.21.x]
6565
os: [ubuntu-latest]
6666

6767
name: Lint ${{ matrix.dir }} (${{ matrix.os }}, Go ${{ matrix.go-version }})
@@ -93,7 +93,7 @@ jobs:
9393
lintc:
9494
strategy:
9595
matrix:
96-
go-version: [1.19.x]
96+
go-version: [1.21.x]
9797
os: [ubuntu-latest]
9898

9999
name: Lint CGO (${{ matrix.os}}, Go ${{ matrix.go-version }})

0 commit comments

Comments
 (0)