Update codecov.yml

Add Go 1.19 to test coverage and use it as default
This commit is contained in:
Winni Neessen 2022-09-08 15:05:38 +02:00 committed by GitHub
parent b888d6058f
commit bce51755d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: [1.16, 1.17, 1.18]
go: [1.16, 1.17, 1.18, 1.19]
steps:
- name: Checkout Code
uses: actions/checkout@master
@ -43,7 +43,7 @@ jobs:
go test -v -race --coverprofile=coverage.coverprofile --covermode=atomic ./...
- 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@v2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos