From 6d25a48f488785a370a4e6bd1ddc445e9bd76f89 Mon Sep 17 00:00:00 2001 From: Will Norris Date: Mon, 4 Nov 2019 06:30:42 +0000 Subject: [PATCH] use simple bash command for codecov --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2842f57..ed424aa 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,9 +35,9 @@ jobs: run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./... - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1.0.3 - with: - token: ${{ secrets.CODECOV_TOKEN }} + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + run: bash <(curl -s https://codecov.io/bash) # On Windows, just run the local tests. Don't bother with checking gofmt, go # vet, or uploading results to Codecov