Skip to content

Commit 717b9bb

Browse files
authored
chore: add Go 1.19 to test matrix (#58)
As the main consumer is the CF CLI, we should still test against unsupported versions of Go as the CF CLI is often built with old versions
1 parent b39957d commit 717b9bb

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,24 @@
11
name: test
2-
32
on: [push, pull_request]
4-
53
jobs:
6-
test-go-1-16:
7-
runs-on: ubuntu-latest
8-
steps:
9-
- uses: actions/setup-go@v3
10-
with:
11-
go-version: '1.16'
12-
- uses: actions/checkout@v3
13-
- run: make ginkgo
14-
test-go-1-17:
4+
test-and-lint:
5+
name: Test and Lint Go 1.17
156
runs-on: ubuntu-latest
167
steps:
178
- uses: actions/setup-go@v3
189
with:
1910
go-version: '1.17'
2011
- uses: actions/checkout@v3
2112
- run: make test
22-
test-go-1-18:
13+
test:
2314
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
go: [ '1.16', '1.18', '1.19' ]
18+
name: Test Go ${{ matrix.go }}
2419
steps:
2520
- uses: actions/setup-go@v3
2621
with:
27-
go-version: '1.18'
22+
go-version: ${{ matrix.go }}
2823
- uses: actions/checkout@v3
2924
- run: make ginkgo
30-

0 commit comments

Comments
 (0)