Skip to content

Commit

Permalink
Update CI workflow (fixes #12)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalloc committed Jun 2, 2021
1 parent 848f3c0 commit 1a0b7fa
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: 1.16
id: go
go-version: ^1
- name: Checkout
uses: actions/checkout@v1
- name: Make
run: make ci
- name: Upload Coverage Reports
if: success()
run: |
test ! -z "$TOKEN"
bash <(curl -s https://codecov.io/bash) -t "$TOKEN" -B "${{ github.ref }}"
env:
TOKEN: "${{ secrets.CODECOV_TOKEN }}"
[[ -z "${{ secrets.CODECOV_TOKEN }}" ]] || bash <(curl -s https://codecov.io/bash) -t "${{ secrets.CODECOV_TOKEN }}" -B "${{ github.ref }}"

0 comments on commit 1a0b7fa

Please sign in to comment.