1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-24 08:22:21 +02:00

Use Go 1.21 in CI (#2505)

This commit is contained in:
Martti T 2023-08-12 09:01:30 +03:00 committed by GitHub
parent e6b96f8873
commit 77d5ae6a91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -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:
@ -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

View File

@ -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:
@ -25,7 +25,7 @@ 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:
@ -33,7 +33,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: ${{ matrix.go }}
@ -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 }}