This repository has been archived by the owner on Jan 27, 2024. It is now read-only.
Merge pull request #70 from serlo/auto-deploy #639
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: Terraform GitHub Actions | |
on: | |
- push | |
jobs: | |
format: | |
name: fmt | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_version: ^1.0.0 | |
- name: Terraform Format | |
run: terraform fmt -check -recursive |