Skip to content

Commit

Permalink
chore: add Go 1.19 to test matrix (#58)
Browse files Browse the repository at this point in the history
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
blgm committed Aug 12, 2022
1 parent b39957d commit 717b9bb
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/test.yml
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

0 comments on commit 717b9bb

Please sign in to comment.