Skip to content

Commit 79db82b

Browse files
committed
ci: update Go to 1.21
1 parent 00e8023 commit 79db82b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.cirrus.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
env:
22
CIRRUS_CLONE_DEPTH: 1
3-
GO_VERSION: go1.20
3+
GO_VERSION: go1.21.3
44

55
freebsd_12_task:
66
freebsd_instance:

.github/workflows/static-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install Go
1717
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
1818
with:
19-
go-version: '1.19'
19+
go-version: '1.21'
2020

2121
- name: Check out code
2222
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
build-and-test:
1313
strategy:
1414
matrix:
15-
go-version: ['1.18', '1.19', '1.20']
15+
go-version: ['1.19', '1.20', '1.21']
1616
os: [ubuntu-latest, macos-latest, windows-latest]
1717
runs-on: ${{ matrix.os }}
1818

@@ -26,11 +26,11 @@ jobs:
2626
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
2727

2828
- name: Check formatting
29-
if: ${{ matrix.go-version == '1.20' && matrix.os == 'ubuntu-latest' }}
29+
if: ${{ matrix.go-version == '1.21' && matrix.os == 'ubuntu-latest' }}
3030
run: diff -u <(echo -n) <(gofmt -d .)
3131

3232
- name: Check Go modules
33-
if: ${{ matrix.go-version == '1.20' && matrix.os == 'ubuntu-latest' }}
33+
if: ${{ matrix.go-version == '1.21' && matrix.os == 'ubuntu-latest' }}
3434
run: |
3535
go mod tidy
3636
git diff --exit-code

0 commit comments

Comments
 (0)