From 394bc7804ba430478895ff1e99d1d5ecbe6b926d Mon Sep 17 00:00:00 2001 From: Herlon Aguiar Date: Sat, 4 Dec 2021 21:51:34 +0100 Subject: [PATCH] update coverage action --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd5ec88..51aa0b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,4 +15,7 @@ jobs: - name: Run coverage run: go test ./pkg/... -race -coverprofile=coverage.txt -covermode=atomic - name: Upload coverage to Codecov - run: bash <(curl -s https://codecov.io/bash) + uses: codecov/codecov-action@v1 + with: + files: ./coverage.txt + token: ${{ secrets.CODECOV_TOKEN }}