-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* terraform workflow * add CODEOWNERS * fix fmt
- Loading branch information
1 parent
5a7db30
commit 6b50a95
Showing
3 changed files
with
44 additions
and
9 deletions.
There are no files selected for viewing
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 @@ | ||
* ForsakenHarmony |
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,34 @@ | ||
name: terraform-config | ||
|
||
on: | ||
pull_request: {} | ||
push: | ||
branches: ["main"] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
linting: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: setup terraform | ||
uses: hashicorp/setup-terraform@v1 | ||
|
||
- name: terraform init | ||
run: terraform init | ||
|
||
- name: terraform validate | ||
run: terraform validate | ||
|
||
- name: terraform format check | ||
id: fmt | ||
run: terraform fmt -check -recursive -diff | ||
|
||
- name: teraform lint | ||
id: tflint | ||
uses: devops-infra/[email protected] |
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