Skip to content

Update golangci-lint to v1.59.1 #105

Update golangci-lint to v1.59.1

Update golangci-lint to v1.59.1 #105

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@v4
- uses: actions/setup-go@v5
with:
go-version-file: '.go-version'
- name: test
run: make test
testacc_terraform:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
terraform:
- 1.6.6
- 0.15.5
- 0.14.11
- 0.13.7
- 0.12.31
env:
TERRAFORM_VERSION: ${{ matrix.terraform }}
TFSCHEMA_TF_MODE: terraform
steps:
- uses: actions/checkout@v4
- 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
testacc_opentofu:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
opentofu:
- 1.6.0
env:
OPENTOFU_VERSION: ${{ matrix.opentofu }}
TFSCHEMA_TF_MODE: opentofu
steps:
- uses: actions/checkout@v4
- name: docker build
run: docker compose build
- name: opentofu --version
run: |
docker compose run --rm tfschema tofu --version
- name: testacc
run: docker compose run --rm tfschema make testacc