Skip to content

Merge pull request #51 from minamijoyo/go-1.21 #83

Merge pull request #51 from minamijoyo/go-1.21

Merge pull request #51 from minamijoyo/go-1.21 #83

Workflow file for this run

name: test
permissions:
contents: read
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: '.go-version'
- name: test
run: make test
testacc:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
terraform:
- 1.5.5
- 0.15.5
- 0.14.11
- 0.13.7
- 0.12.31
env:
TERRAFORM_VERSION: ${{ matrix.terraform }}
steps:
- uses: actions/checkout@v3
- name: docker build
run: docker-compose build
- name: terraform --version
run: docker-compose run --rm tfschema terraform --version
- name: testacc
run: docker-compose run --rm tfschema make testacc