Attempt to github actions
This commit is contained in:
parent
fe32b2254e
commit
6dc004b907
20
.github/workflows/terraform.yml
vendored
Normal file
20
.github/workflows/terraform.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: terraform
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
terraform:
|
||||||
|
name: Terraform
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: fmt
|
||||||
|
uses: hashicorp/terraform-github-actions@master
|
||||||
|
with:
|
||||||
|
tf_actions_subcommand: fmt
|
||||||
|
- name: init
|
||||||
|
uses: hashicorp/terraform-github-actions@master
|
||||||
|
with:
|
||||||
|
tf_actions_subcommand: init
|
||||||
|
- name: validate
|
||||||
|
uses: hashicorp/terraform-github-actions@master
|
||||||
|
with:
|
||||||
|
tf_actions_subcommand: validate
|
Loading…
Reference in New Issue
Block a user