Skip to content

Commit d236946

Browse files
authored
Update action.yml
1 parent 55ad023 commit d236946

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

action.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,6 @@ inputs:
4040
runs:
4141
using: 'composite'
4242
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-
with:
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-
5543
- run: |
5644
EXTRA_ARGS=""
5745
@@ -79,9 +67,9 @@ runs:
7967
EXTRA_ARGS+="-yellow=${{ inputs.yellow }}"
8068
fi
8169
82-
go get github.com/AlexBeauchemin/gobadge
70+
curl -sf https://gobinaries.com/AlexBeauchemin/gobadge | sh
71+
8372
gobadge -filename=${{ inputs.filename }} $EXTRA_ARGS
84-
go clean -i github.com/AlexBeauchemin/gobadge
8573
id: coverage-badge-go
8674
shell: bash
8775

0 commit comments

Comments
 (0)