OPS-18175: Update to large-runners #27
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
# Copyright (c) CloudBees, Inc. | |
--- | |
name: "Code Quality: Terraform" | |
on: | |
push: | |
jobs: | |
terraform: | |
name: Terraform | |
runs-on: | |
group: large-runners | |
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 |