-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
55e60f3
commit 1e9deba
Showing
3 changed files
with
24 additions
and
16 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
name: Terraform | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
terraform-lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Important: This sets up your GITHUB_WORKSPACE environment variable | ||
- uses: actions/checkout@v2 | ||
- uses: hashicorp/setup-terraform@v1 | ||
|
||
- name: fmt | ||
run: terraform fmt -recursive -check | ||
continue-on-error: true | ||
|
||
- name: init | ||
run: terraform init | ||
|
||
- name: validate | ||
run: terraform validate -no-color |
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