EKS Upgrade to Kubernetes 1.29 (#11) #108
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
# GitHub Action for formatting Terraform code. | |
# Author: Andrew Jarombek | |
# Date: 2/19/2023 | |
name: Terraform Formatting | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
schedule: | |
- cron: "0 5 * * 5" | |
workflow_dispatch: | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- run: echo "Job running on a ${{ runner.os }} server" | |
- name: Check Out Repository Code | |
uses: actions/checkout@v3 | |
- run: echo "Checked out branch '${{ github.ref }}' of the ${{ github.repository }} repository" | |
- name: Install Terraform | |
uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_version: 1.3.7 | |
- name: Terraform Format | |
run: terraform fmt -check -recursive |