Skip to content

Commit a111777

Browse files
committed
Change the GitHub workflow to use only the latest Go version
Signed-off-by: Cosmin Cojocar <[email protected]>
1 parent 722acb6 commit a111777

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,28 @@ on:
88
- master
99
jobs:
1010
tests:
11-
strategy:
12-
matrix:
13-
go-version: [go1.12.x, go1.13.x, go1.14.x]
1411
runs-on: ubuntu-latest
1512
env:
1613
GO111MODULE: on
1714
steps:
18-
- name: Install Go
19-
uses: actions/setup-go@v1
20-
with:
21-
go-version: ${{ matrix.go-version }}
2215
- name: Checkout Source
2316
uses: actions/checkout@v2
2417
- name: Run Tests
25-
run: make test
18+
uses: cedrickring/[email protected]
19+
with:
20+
args: make test
2621
coverage:
2722
needs: tests
2823
runs-on: ubuntu-latest
2924
env:
3025
GO111MODULE: on
3126
steps:
32-
- name: Install Go
33-
uses: actions/setup-go@v1
34-
with:
35-
go-version: go1.14.x
3627
- name: Checkout Source
3728
uses: actions/checkout@v2
3829
- name: Create Test Coverage
39-
run: make test-coverage
30+
uses: cedrickring/[email protected]
31+
with:
32+
args: make test-coverage
4033
- name: Upload Test Coverage
4134
uses: codecov/codecov-action@v1
4235
with:

0 commit comments

Comments
 (0)