Skip to content

Commit

Permalink
Added initial GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
arueth committed Sep 4, 2024
1 parent 19dce68 commit f4eef27
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Terraform validation
on:
push:
branches:
- main
- staging
pull_request:
branches:
- main
- staging
jobs:
"Terraform-checks":
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.5.7" # Cloud Shell version

- name: terraform fmt
id: fmt
run: terraform fmt -check -recursive
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# IDEs
*.code-workspace

0 comments on commit f4eef27

Please sign in to comment.