From c74b57b5369fdc42d53f1fa19a6a3ab7b0b98a6c Mon Sep 17 00:00:00 2001 From: pilinux Date: Sun, 3 Mar 2024 21:09:13 +0100 Subject: [PATCH] ci: use codecov/codecov-action@v4.0.1 --- .github/workflows/go.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index cfe4c64..4471808 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -53,11 +53,12 @@ jobs: if: github.event_name == 'push' run: go test -v -cover -coverprofile=coverage.txt -covermode=atomic ./... - - name: Upload coverage to Codecov + - name: Upload coverage reports to Codecov if: github.event_name == 'push' - run: bash <(curl -s https://codecov.io/bash) - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + slug: pilinux/argon2 - name: Update Go report card if: github.event_name == 'push'