Merge pull request #986 from saschagrunert/codecov-fix

Fix codecov reports in GitHub actions
This commit is contained in:
lynn [they] 2019-12-13 19:50:38 -08:00 committed by GitHub
commit f1a3d56aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -58,8 +58,9 @@ jobs:
go run build.go gfmrun docs/v2/manual.md go run build.go gfmrun docs/v2/manual.md
go run build.go toc docs/v2/manual.md go run build.go toc docs/v2/manual.md
- name: Send Coverage Report - name: Upload coverage to Codecov
if: success() if: success() && matrix.go == 1.13 && matrix.os == 'ubuntu-latest'
env: uses: codecov/codecov-action@v1
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with:
run: bash <(curl -s https://codecov.io/bash) token: 0a8cc73b-bb7c-480b-8626-38a461643761
fail_ci_if_error: true

View File

@ -20,7 +20,6 @@ install:
- go version - go version
- go env - go env
- go get github.com/urfave/gfmrun/cmd/gfmrun - go get github.com/urfave/gfmrun/cmd/gfmrun
- go get golang.org/x/tools/cmd/goimports
- go mod tidy - go mod tidy
build_script: build_script: