Skip to content

Commit 9ef152c

Browse files
committed
use Go 1.21 by default on CI
1 parent 7e38a88 commit 9ef152c

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]
10-
go: ['1.19', '1.20']
10+
go: ['1.20', '1.21']
1111
runs-on: ${{ matrix.os }}
1212
steps:
1313
- name: Install dependencies on macOS
@@ -63,7 +63,7 @@ jobs:
6363
- uses: actions/checkout@v3
6464
- uses: actions/setup-go@v4
6565
with:
66-
go-version: '1.20'
66+
go-version: '1.21'
6767
- uses: actions/setup-node@v3
6868
with:
6969
node-version: "lts/*"
@@ -85,7 +85,7 @@ jobs:
8585
- uses: actions/checkout@v3
8686
- uses: actions/setup-go@v4
8787
with:
88-
go-version: '1.20'
88+
go-version: '1.21'
8989
- name: Check Go sources are formatted
9090
run: |
9191
diffs="$(gofmt -d ./*.go ./cmd/actionlint/*.go ./scripts/*/*.go ./playground/*.go)"
@@ -110,7 +110,7 @@ jobs:
110110
uses: docker/build-push-action@v3
111111
with:
112112
build-args: |
113-
GOLANG_VER=1.20
113+
GOLANG_VER=1.21
114114
push: false
115115
- name: Test Docker image
116116
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@v4
3939
with:
40-
go-version: '1.20'
40+
go-version: '1.21'
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@v3
2424
- uses: actions/setup-go@v4
2525
with:
26-
go-version: '1.20'
26+
go-version: '1.21'
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@v3
2020
- uses: actions/setup-go@v4
2121
with:
22-
go-version: '1.20'
22+
go-version: '1.21'
2323
- uses: actions/setup-node@v3
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@v4
2121
with:
22-
go-version: '1.20'
22+
go-version: '1.21'
2323
- uses: goreleaser/goreleaser-action@v4
2424
with:
2525
version: latest
@@ -77,7 +77,7 @@ jobs:
7777
with:
7878
platforms: linux/amd64,linux/arm64
7979
build-args: |
80-
GOLANG_VER=1.20
80+
GOLANG_VER=1.21
8181
ACTIONLINT_VER=${{ steps.tag.outputs.name }}
8282
push: true
8383
tags: |

0 commit comments

Comments
 (0)