Skip to content

Commit d845b12

Browse files
cpanatowlynch
authored andcommitted
update ci actions and test with supported go versions
Signed-off-by: cpanato <[email protected]>
1 parent 4f391ad commit d845b12

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/go.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,20 @@ jobs:
1010
build:
1111
name: Build
1212
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
go-version: ['1.21', '1.22']
17+
1318
steps:
14-
- name: Set up Go 1.17
15-
uses: actions/setup-go@v2
19+
- name: Set up Go ${{ matrix.go-version }}
20+
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
1621
with:
17-
go-version: 1.17
22+
go-version: ${{ matrix.go-version }}
23+
check-latest: true
1824

1925
- name: Check out code
20-
uses: actions/checkout@v2
26+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
2127

2228
- name: Get dependencies
2329
run: go get -v -t -d ./...

0 commit comments

Comments
 (0)