mirror of
https://github.com/labstack/echo.git
synced 2025-06-02 23:27:34 +02:00
Use Go 1.21 in CI (#2505)
This commit is contained in:
parent
e6b96f8873
commit
77d5ae6a91
4
.github/workflows/checks.yml
vendored
4
.github/workflows/checks.yml
vendored
@ -14,7 +14,7 @@ permissions:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
# run static analysis only with the latest Go version
|
# run static analysis only with the latest Go version
|
||||||
LATEST_GO_VERSION: "1.20"
|
LATEST_GO_VERSION: "1.21"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
@ -24,7 +24,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Go ${{ matrix.go }}
|
- name: Set up Go ${{ matrix.go }}
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.LATEST_GO_VERSION }}
|
go-version: ${{ env.LATEST_GO_VERSION }}
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
8
.github/workflows/echo.yml
vendored
8
.github/workflows/echo.yml
vendored
@ -14,7 +14,7 @@ permissions:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
# run coverage and benchmarks only with the latest Go version
|
# run coverage and benchmarks only with the latest Go version
|
||||||
LATEST_GO_VERSION: "1.20"
|
LATEST_GO_VERSION: "1.21"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@ -25,7 +25,7 @@ jobs:
|
|||||||
# Echo tests with last four major releases (unless there are pressing vulnerabilities)
|
# 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
|
# 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.
|
# 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 }}
|
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
@ -33,7 +33,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Go ${{ matrix.go }}
|
- name: Set up Go ${{ matrix.go }}
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go }}
|
go-version: ${{ matrix.go }}
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ jobs:
|
|||||||
path: new
|
path: new
|
||||||
|
|
||||||
- name: Set up Go ${{ matrix.go }}
|
- name: Set up Go ${{ matrix.go }}
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.LATEST_GO_VERSION }}
|
go-version: ${{ env.LATEST_GO_VERSION }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user