Skip to content

Commit 5f82ed2

Browse files
committed
run tests with Go 1.23 on CI
and drop 1.21 from CI
1 parent e246a56 commit 5f82ed2

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
os: [ubuntu-latest, macos-latest, windows-latest, macos-12]
10-
go: ['1.21', '1.22']
10+
go: ['1.22', '1.23']
1111
runs-on: ${{ matrix.os }}
1212
steps:
1313
- name: Install dependencies on macOS
@@ -68,7 +68,7 @@ jobs:
6868
- uses: actions/checkout@v4
6969
- uses: actions/setup-go@v5
7070
with:
71-
go-version: '1.22'
71+
go-version: '1.23'
7272
- uses: actions/setup-node@v4
7373
with:
7474
node-version: "lts/*"
@@ -90,7 +90,7 @@ jobs:
9090
- uses: actions/checkout@v4
9191
- uses: actions/setup-go@v5
9292
with:
93-
go-version: '1.22'
93+
go-version: '1.23'
9494
- run: sudo apt-get install -y shellcheck
9595
- name: Check Go sources are formatted
9696
run: |
@@ -116,7 +116,7 @@ jobs:
116116
uses: docker/build-push-action@v5
117117
with:
118118
build-args: |
119-
GOLANG_VER=1.22
119+
GOLANG_VER=1.23
120120
push: false
121121
- name: Test Docker image
122122
run: docker container run

.github/workflows/codeql.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
if: ${{ matrix.language != 'go' }}
3838
- uses: actions/setup-go@v5
3939
with:
40-
go-version: '1.22'
40+
go-version: '1.23'
4141
if: ${{ matrix.language == 'go' }}
4242
- name: Build Go sources
4343
run: |

.github/workflows/generate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v4
2424
- uses: actions/setup-go@v5
2525
with:
26-
go-version: '1.22'
26+
go-version: '1.23'
2727
- name: Check new release on GitHub
2828
run: go run ./scripts/generate-popular-actions -d
2929
- run: go generate

.github/workflows/matcher.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-go@v5
2121
with:
22-
go-version: '1.22'
22+
go-version: '1.23'
2323
- uses: actions/setup-node@v4
2424
with:
2525
node-version: "lts/*"

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- run: ronn ./man/actionlint.1.ronn
2020
- uses: actions/setup-go@v5
2121
with:
22-
go-version: '1.22'
22+
go-version: '1.23'
2323
- uses: goreleaser/goreleaser-action@v5
2424
with:
2525
version: '~> v1'
@@ -77,7 +77,7 @@ jobs:
7777
with:
7878
platforms: linux/amd64,linux/arm64
7979
build-args: |
80-
GOLANG_VER=1.22
80+
GOLANG_VER=1.23
8181
ACTIONLINT_VER=${{ steps.tag.outputs.name }}
8282
push: true
8383
tags: |

0 commit comments

Comments
 (0)