Prepare for release of v4.0.0. #29
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
name: Validate Module | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
validate: | |
name: Validate Terraform Module | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
tf_version: | |
- docker.io/hashicorp/terraform:1.7 | |
- docker.io/hashicorp/terraform:latest | |
- ghcr.io/opentofu/opentofu:latest | |
container: | |
image: ${{ matrix.tf_version }} | |
steps: | |
- name: git checkout | |
uses: actions/checkout@v4 | |
- name: Initialize Terraform | |
run: terraform init -backend=false | |
- name: Validate Terraform Module Syntax | |
run: terraform validate | |
#security_scanner: | |
# name: Run tfsec Security Scanner | |
# runs-on: ubuntu-20.04 | |
# container: | |
# image: docker.io/liamg/tfsec:v0.25.0 | |
# steps: | |
# - name: git checkout | |
# uses: actions/checkout@v2 | |
# - name: Run security scanner | |
# run: tfsec . |