mirror of
https://github.com/outbackdingo/terraform-render-bootstrap.git
synced 2026-01-27 18:20:40 +00:00
* Run terraform fmt on pull requests and merge to main * Show workflow status in README * Add dependabot.yaml to keep GitHub Actions updated
22 lines
381 B
YAML
22 lines
381 B
YAML
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
|