mirror of
https://github.com/outbackdingo/terraform-render-bootstrap.git
synced 2026-01-28 02:20:38 +00:00
Add Terraform fmt GitHub Action and dependabot config
* Run terraform fmt on pull requests and merge to main * Show workflow status in README * Add dependabot.yaml to keep GitHub Actions updated
This commit is contained in:
21
.github/workflows/test.yaml
vendored
Normal file
21
.github/workflows/test.yaml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: test
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
jobs:
|
||||
terraform:
|
||||
name: fmt
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: terraform
|
||||
uses: hashicorp/setup-terraform@v2
|
||||
with:
|
||||
terraform_version: 1.2.5
|
||||
|
||||
- name: fmt
|
||||
run: terraform fmt -check -diff -recursive
|
||||
Reference in New Issue
Block a user