Bump go testing versions.

main
Mikhail Yohman 2023-03-27 08:23:34 -06:00
parent 3a1039f5c4
commit e627f1cd49
No known key found for this signature in database
GPG Key ID: B317161F0F35E82A
1 changed files with 47 additions and 49 deletions

View File

@ -5,10 +5,10 @@ name: Tests
on:
pull_request:
paths-ignore:
- 'README.md'
- "README.md"
push:
paths-ignore:
- 'README.md'
- "README.md"
# For systems with an upstream API that could drift unexpectedly (like most SaaS systems, etc.),
# we recommend testing at a regular interval not necessarily tied to code changes. This will
# ensure you are alerted to something breaking due to an API change, even if the code did not
@ -22,11 +22,10 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.16'
go-version: "1.20"
id: go
- name: Check out code into the Go module directory
@ -46,7 +45,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
go-version-file: "go.mod"
cache: true
- run: go generate ./...
- name: git diff
@ -65,18 +64,17 @@ jobs:
matrix:
# list whatever Terraform versions here you would like to support
terraform:
- '0.12.*'
- '0.13.*'
- '0.14.*'
- '0.15.*'
- '1.0.*'
- '1.1.*'
- "0.12.*"
- "0.13.*"
- "0.14.*"
- "0.15.*"
- "1.0.*"
- "1.1.*"
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.17'
go-version: "1.20"
id: go
- uses: hashicorp/setup-terraform@v2