We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55ad023 commit d236946Copy full SHA for d236946
action.yml
@@ -40,18 +40,6 @@ inputs:
40
runs:
41
using: 'composite'
42
steps:
43
- - name: Setup go
44
- uses: actions/setup-go@v2
45
- with:
46
- go-version: '1.14.4'
47
-
48
- - uses: actions/cache@v2
49
50
- path: ~/go/pkg/mod
51
- key: ${{ runner.os }}-coverage-badge-go-${{ hashFiles('**/go.sum') }}
52
- restore-keys: |
53
- ${{ runner.os }}-coverage-badge-go-
54
55
- run: |
56
EXTRA_ARGS=""
57
@@ -79,9 +67,9 @@ runs:
79
67
EXTRA_ARGS+="-yellow=${{ inputs.yellow }}"
80
68
fi
81
69
82
- go get github.com/AlexBeauchemin/gobadge
70
+ curl -sf https://gobinaries.com/AlexBeauchemin/gobadge | sh
71
+
83
72
gobadge -filename=${{ inputs.filename }} $EXTRA_ARGS
84
- go clean -i github.com/AlexBeauchemin/gobadge
85
73
id: coverage-badge-go
86
74
shell: bash
87
75
0 commit comments