Skip to content

Commit

Permalink
Use Go 1.21 in CI (#2505)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldas committed Aug 12, 2023
1 parent e6b96f8 commit 77d5ae6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Expand Up @@ -14,7 +14,7 @@ permissions:

env:
# run static analysis only with the latest Go version
LATEST_GO_VERSION: "1.20"
LATEST_GO_VERSION: "1.21"

jobs:
check:
Expand All @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v3

- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.LATEST_GO_VERSION }}
check-latest: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/echo.yml
Expand Up @@ -14,7 +14,7 @@ permissions:

env:
# run coverage and benchmarks only with the latest Go version
LATEST_GO_VERSION: "1.20"
LATEST_GO_VERSION: "1.21"

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

- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}

Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
path: new

- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.LATEST_GO_VERSION }}

Expand Down

0 comments on commit 77d5ae6

Please sign in to comment.