Skip to content

Commit

Permalink
Create validate.yml
Browse files Browse the repository at this point in the history
Criar CI para Módulo Terraform Cloudflare
  • Loading branch information
klebercabral authored Apr 6, 2021
1 parent 464e463 commit f17fe7a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: hashicorp/[email protected]
- name: Terraform fmt
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 f17fe7a

Please sign in to comment.