-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
1 changed file
with
8 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,24 @@ | ||
name: test | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test-go-1-16: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.16' | ||
- uses: actions/checkout@v3 | ||
- run: make ginkgo | ||
test-go-1-17: | ||
test-and-lint: | ||
name: Test and Lint Go 1.17 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.17' | ||
- uses: actions/checkout@v3 | ||
- run: make test | ||
test-go-1-18: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
go: [ '1.16', '1.18', '1.19' ] | ||
name: Test Go ${{ matrix.go }} | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.18' | ||
go-version: ${{ matrix.go }} | ||
- uses: actions/checkout@v3 | ||
- run: make ginkgo | ||
|