Skip to content

Commit

Permalink
Adicionado pipeline centralizado. (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
luizgroliveira authored May 1, 2022
1 parent 712d8b9 commit fe1543b
Showing 1 changed file with 4 additions and 25 deletions.
29 changes: 4 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Terraform"
name: "Terraform Valida Modulo"

on:
push:
Expand All @@ -8,28 +8,7 @@ on:

jobs:
terraform:
name: "Unit Tests"
runs-on: ubuntu-18.04
uses: "mentoriaiac/cicd_centralizado/.github/workflows/terraform_valida_modulo.yaml@v0.1.0"
secrets:
token: ${{ secrets.TOKEN }}

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
terraform_version: 1.0.0
terraform_wrapper: false

- name: Terraform Format
id: fmt
run: terraform fmt -check
continue-on-error: true

- name: Terraform Init
id: init
run: terraform init

- name: Terraform Validate
id: validate
run: terraform validate -no-color

0 comments on commit fe1543b

Please sign in to comment.