Skip to content

Commit

Permalink
refactor(ci): update steps
Browse files Browse the repository at this point in the history
  • Loading branch information
miladbeigi committed Mar 23, 2024
1 parent 4d086f3 commit 6d614c0
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,19 @@ jobs:
name: Format Terraform
runs-on: ubuntu-latest
steps:
- name: Check out code
- name: Code
uses: actions/checkout@v3

- name: Setup Terraform
- name: Setup
uses: hashicorp/setup-terraform@v1

- name: Run terraform fmt check
id: fmt
- name: Format
run: terraform fmt -check -diff -recursive .

- name: Initialize Terraform
id: init
- name: Initialize
run: |
terraform init
- name: Validate Terraform
id: validate
- name: Validate
run: |
terraform validate

0 comments on commit 6d614c0

Please sign in to comment.