Skip to content
This repository was archived by the owner on Apr 5, 2026. It is now read-only.

chore(rds): Upgrade MySQL engine version to 8.4.5 #15

chore(rds): Upgrade MySQL engine version to 8.4.5

chore(rds): Upgrade MySQL engine version to 8.4.5 #15

name: Ensure Terraform code is properly formatted and valid
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
paths:
- '**/*.tf'
jobs:
check_terraform:
runs-on: ubuntu-latest
steps:
- name: Check out the repository code
uses: actions/checkout@v4
- name: Set up the Terraform CLI
uses: hashicorp/setup-terraform@v3
- name: Cache Terraform providers
uses: actions/cache@v3
with:
path: |
.terraform
key: terraform-${{ runner.os }}-${{ hashFiles('**/*.tf', '**/.terraform.lock.hcl') }}
restore-keys: |
terraform-${{ runner.os }}-
- name: Initialize the Terraform working directory
run: terraform init -backend=false -input=false
- name: Verify that all Terraform files are properly formatted
run: terraform fmt -recursive -check
- name: Validate the Terraform configuration files
run: terraform validate