Skip to content

Commit 9caff13

Browse files
authored
bump to gcov2lcov-action 1.0.4 and go 1.15 (#5)
1 parent 652521c commit 9caff13

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/test_and_build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ jobs:
77
- name: Install Go
88
uses: actions/setup-go@v1
99
with:
10-
go-version: 1.13.x
10+
go-version: 1.15.x
1111
- name: Checkout code
1212
uses: actions/checkout@v1
1313
- name: Install golangci-lint
1414
run: |
1515
go get github.com/golangci/golangci-lint/cmd/golangci-lint
1616
- name: Run linters
1717
run: |
18-
export PATH=$PATH:$(go env GOPATH)/bin
18+
export PATH=$PATH:$(go env GOPATH)/bin
1919
./pre-commit
2020
2121
test:
2222
strategy:
2323
matrix:
24-
go-version: [1.12.x, 1.13.x]
24+
go-version: [1.15.x]
2525
platform: [ubuntu-latest, macos-latest, windows-latest]
2626
runs-on: ${{ matrix.platform }}
2727
steps:
@@ -33,7 +33,7 @@ jobs:
3333
- name: Checkout code
3434
uses: actions/checkout@v1
3535
- name: Run tests
36-
run: go test -v -covermode=count
36+
run: go test -v -covermode=count
3737

3838
coverage:
3939
runs-on: ubuntu-latest
@@ -42,15 +42,15 @@ jobs:
4242
if: success()
4343
uses: actions/setup-go@v1
4444
with:
45-
go-version: 1.13.x
45+
go-version: 1.15.x
4646
- name: Checkout code
4747
uses: actions/checkout@v1
48-
- name: Calc coverage
48+
- name: Calc coverage
4949
run: |
50-
export PATH=$PATH:$(go env GOPATH)/bin
50+
export PATH=$PATH:$(go env GOPATH)/bin
5151
go test -v -covermode=count -coverprofile=coverage.out
5252
- name: Convert coverage to lcov
53-
uses: jandelgado/gcov2lcov-action@v1.0.0
53+
uses: jandelgado/gcov2lcov-action@v1.0.4
5454
with:
5555
infile: coverage.out
5656
outfile: coverage.lcov
@@ -67,7 +67,7 @@ jobs:
6767
- name: Install Go
6868
uses: actions/setup-go@v1
6969
with:
70-
go-version: 1.13.x
70+
go-version: 1.15.x
7171
- name: Checkout code
7272
uses: actions/checkout@v1
7373
- name: build

0 commit comments

Comments
 (0)