From 5b8ae551155c9fe6d9894bc116cebe98865170a5 Mon Sep 17 00:00:00 2001 From: Scott Andrews Date: Mon, 18 Mar 2024 12:10:04 -0400 Subject: [PATCH] Fix codecov token for repo move Signed-off-by: Scott Andrews --- .github/workflows/ci.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 94960e2..a3824d9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,8 +32,7 @@ jobs: - name: Test run: | go test -v ./... -coverprofile cover.out - - name: Report coverage - run: | - bash <(curl -s https://codecov.io/bash) - env: - CODECOV_TOKEN: 16421b44-8cd3-49d9-a01e-189c5141009e + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }}