Skip to content

Commit

Permalink
Use codecov github action (aws#1550)
Browse files Browse the repository at this point in the history
In particular, this avoids `curl | bash` (the bash script is simply
embedded in the github action image).

It also provides a trivial upgrade path to the new nodejs-based
uploader (`@v1` -> `@v2`), when we decide that is ready (perhaps now).
  • Loading branch information
anguslees authored and haouc committed Aug 24, 2021
1 parent 2b7fabd commit 0d34077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go 1.14
uses: actions/setup-go@v2
with:
go-version: '1.14.3'
go-version: '1.14.3'
id: go

- name: Check out code into the Go module directory
Expand All @@ -41,4 +41,4 @@ jobs:
run: make unit-test

- name: Upload code coverage
run: bash <(curl -s https://codecov.io/bash)
uses: codecov/codecov-action@v1

0 comments on commit 0d34077

Please sign in to comment.