Merge remote-tracking branch 'origin/main' into 42-testcoverage

This commit is contained in:
Winni Neessen 2022-09-08 15:06:42 +02:00
commit fa4eca20f1
Signed by: wneessen
GPG key ID: 385AC9889632126E

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