Skip to content

Commit 958e87a

Browse files
authored
ci: use go 1.22 for tests and builds (#233)
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
1 parent 771f60d commit 958e87a

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/go-test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ jobs:
1313
name: go-test
1414
strategy:
1515
matrix:
16-
go-version: [1.21.x, 1.22.x]
17-
# XXX: is it actually useful to run unit tests on macOS?
18-
platform: [ubuntu-latest, macos-latest]
16+
go-version: [1.22.x, 1.23.x]
17+
platform: [ubuntu-latest]
1918
runs-on: ${{ matrix.platform }}
2019
steps:
2120
- uses: actions/checkout@v4

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ jobs:
2222
- uses: actions/checkout@v4
2323
- uses: actions/setup-go@v5
2424
with:
25-
go-version: 1.21.x
25+
go-version: 1.22.x
2626
cache: false
2727
- name: golangci-lint
2828
uses: golangci/golangci-lint-action@v6
2929
with:
30-
version: v1.54 # current version at time of commit
3130
args: --timeout=10m
3231
# Only show new issues in a PR but show all issues for pushes
3332
only-new-issues: ${{ github.event_name == 'pull_request' && 'true' || 'false' }}

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/checkout@v4
5151
- uses: actions/setup-go@v5
5252
with:
53-
go-version: 1.21.x
53+
go-version: 1.22.x
5454
- name: Build binary
5555
run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} make build
5656
- name: Upload release asset

0 commit comments

Comments
 (0)