Skip to content

Commit 4511bba

Browse files
authored
update versions in the build workflow (#9)
1 parent a77de92 commit 4511bba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
go-version: [1.19.x]
16+
go-version: [1.18.x, 1.20.x]
1717
steps:
1818
- name: Setup Go
19-
uses: actions/setup-go@v3
19+
uses: actions/setup-go@v4
2020
with:
2121
go-version: ${{ matrix.go-version }}
2222

@@ -27,4 +27,5 @@ jobs:
2727
run: go test . -coverprofile=coverage.out -covermode=atomic
2828

2929
- name: Upload coverage to Codecov
30+
if: ${{ matrix.go-version == '1.18.x' }}
3031
run: bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)