mirror of
https://github.com/labstack/echo.git
synced 2025-02-03 13:11:39 +02:00
Update CI-flow (Go 1.19 +deps)
This commit is contained in:
parent
a9879ffa6b
commit
61422dd7de
8
.github/workflows/echo.yml
vendored
8
.github/workflows/echo.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
# Each major Go release is supported until there are two newer major releases. https://golang.org/doc/devel/release.html#policy
|
# Each major Go release is supported until there are two newer major releases. https://golang.org/doc/devel/release.html#policy
|
||||||
# Echo tests with last four major releases
|
# Echo tests with last four major releases
|
||||||
go: [1.16, 1.17, 1.18]
|
go: [1.16, 1.17, 1.18, 1.19]
|
||||||
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
|
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
@ -51,8 +51,8 @@ jobs:
|
|||||||
go test -race --coverprofile=coverage.coverprofile --covermode=atomic ./...
|
go test -race --coverprofile=coverage.coverprofile --covermode=atomic ./...
|
||||||
|
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
if: success() && matrix.go == 1.18 && matrix.os == 'ubuntu-latest'
|
if: success() && matrix.go == 1.19 && matrix.os == 'ubuntu-latest'
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
token:
|
token:
|
||||||
fail_ci_if_error: false
|
fail_ci_if_error: false
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
go: [1.18]
|
go: [1.19]
|
||||||
name: Benchmark comparison ${{ matrix.os }} @ Go ${{ matrix.go }}
|
name: Benchmark comparison ${{ matrix.os }} @ Go ${{ matrix.go }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user