From bce51755d2dd3f3cdc00694376440e0d10021f83 Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Thu, 8 Sep 2022 15:05:38 +0200 Subject: [PATCH] Update codecov.yml Add Go 1.19 to test coverage and use it as default --- .github/workflows/codecov.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index b146ef2..4b9910b 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -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