We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 848f3c0 commit 1a0b7faCopy full SHA for 1a0b7fa
.github/workflows/ci.yml
@@ -12,18 +12,14 @@ jobs:
12
runs-on: ubuntu-latest
13
steps:
14
- name: Set up Go
15
- uses: actions/setup-go@v1
+ uses: actions/setup-go@v2
16
with:
17
- go-version: 1.16
18
- id: go
+ go-version: ^1
19
- name: Checkout
20
uses: actions/checkout@v1
21
- name: Make
22
run: make ci
23
- name: Upload Coverage Reports
24
if: success()
25
run: |
26
- test ! -z "$TOKEN"
27
- bash <(curl -s https://codecov.io/bash) -t "$TOKEN" -B "${{ github.ref }}"
28
- env:
29
- TOKEN: "${{ secrets.CODECOV_TOKEN }}"
+ [[ -z "${{ secrets.CODECOV_TOKEN }}" ]] || bash <(curl -s https://codecov.io/bash) -t "${{ secrets.CODECOV_TOKEN }}" -B "${{ github.ref }}"
0 commit comments