From 5097279f957a0079b5118611e92861c7601c8a54 Mon Sep 17 00:00:00 2001 From: Tommy Bishop Date: Thu, 19 Aug 2021 18:37:02 -0700 Subject: [PATCH] Tweak codecov upload approach. (#75) --- .github/workflows/build.yaml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fe282c07..3873db44 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,24 +23,10 @@ jobs: ${{ runner.os }}-go- - name: Run build run: make - - name: Generate code coverage artifacts - uses: actions/upload-artifact@v2 + - name: Upload code coverage information to codecov.io + uses: codecov/codecov-action@v2 with: - name: code-coverage - path: coverage.out - coverage: - runs-on: ubuntu-latest - needs: - - build - steps: - - name: Get code coverage artifact - uses: actions/download-artifact@v2 - with: - name: code-coverage - - name: Upload code coverage information to codecov.io - uses: codecov/codecov-action@v2 - with: - files: coverage.out + files: coverage.out lint: runs-on: ubuntu-latest steps: