Skip to content

Commit 77d5ae6

Browse files
authored
Use Go 1.21 in CI (#2505)
1 parent e6b96f8 commit 77d5ae6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/checks.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
env:
1616
# run static analysis only with the latest Go version
17-
LATEST_GO_VERSION: "1.20"
17+
LATEST_GO_VERSION: "1.21"
1818

1919
jobs:
2020
check:
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/checkout@v3
2525

2626
- name: Set up Go ${{ matrix.go }}
27-
uses: actions/setup-go@v3
27+
uses: actions/setup-go@v4
2828
with:
2929
go-version: ${{ env.LATEST_GO_VERSION }}
3030
check-latest: true

.github/workflows/echo.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
env:
1616
# run coverage and benchmarks only with the latest Go version
17-
LATEST_GO_VERSION: "1.20"
17+
LATEST_GO_VERSION: "1.21"
1818

1919
jobs:
2020
test:
@@ -25,15 +25,15 @@ jobs:
2525
# Echo tests with last four major releases (unless there are pressing vulnerabilities)
2626
# As we depend on `golang.org/x/` libraries which only support last 2 Go releases we could have situations when
2727
# we derive from last four major releases promise.
28-
go: ["1.18", "1.19", "1.20"]
28+
go: ["1.18", "1.19", "1.20", "1.21"]
2929
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
3030
runs-on: ${{ matrix.os }}
3131
steps:
3232
- name: Checkout Code
3333
uses: actions/checkout@v3
3434

3535
- name: Set up Go ${{ matrix.go }}
36-
uses: actions/setup-go@v3
36+
uses: actions/setup-go@v4
3737
with:
3838
go-version: ${{ matrix.go }}
3939

@@ -64,7 +64,7 @@ jobs:
6464
path: new
6565

6666
- name: Set up Go ${{ matrix.go }}
67-
uses: actions/setup-go@v3
67+
uses: actions/setup-go@v4
6868
with:
6969
go-version: ${{ env.LATEST_GO_VERSION }}
7070

0 commit comments

Comments
 (0)