Skip to content

Merge pull request #16 from holywen/main #15

Merge pull request #16 from holywen/main

Merge pull request #16 from holywen/main #15

Workflow file for this run

# Copyright (c) CloudBees, Inc.
---
name: "Code Quality: Terraform"
on:
push:
jobs:
terraform:
name: Terraform
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
fetch-depth: 1
- name: Set up Terraform
uses: hashicorp/setup-terraform@v1
with:
terraform_wrapper: false
terraform_version: 1.1.7
- name: Initialize Terraform
run: terraform init
- name: Format Terraform configuration
run: terraform fmt -diff -check -no-color -recursive
- name: Validate Terraform configuration
run: terraform validate