From 0bd5390e370d8b3e44accc59b309a71e0fb1ca9f Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Wed, 23 Aug 2023 11:47:00 +0200 Subject: [PATCH] Update codecov.yml --- .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 d4970cf..013672c 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -42,14 +42,14 @@ jobs: with: go-version: ${{ matrix.go }} - name: Install sendmail - if: matrix.go == '1.20' && matrix.os == 'ubuntu-latest' + if: matrix.go == '1.21' && matrix.os == 'ubuntu-latest' run: | sudo apt-get -y install sendmail; which sendmail - name: Run Tests run: | go test -v -race --coverprofile=coverage.coverprofile --covermode=atomic ./... - name: Upload coverage to Codecov - if: success() && matrix.go == '1.20' && matrix.os == 'ubuntu-latest' + if: success() && matrix.go == '1.21' && matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v2 with: token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos