Skip to content

Commit

Permalink
Update plan.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LamSut authored Dec 19, 2024
1 parent 3748e1c commit 16d4a3e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/plan.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Terraform CI/CD
name: Build - Test - Plan

on:
push:
Expand Down Expand Up @@ -30,23 +30,23 @@ jobs:
- name: Terraform Validate
run: terraform validate

test:
runs-on: ubuntu-latest
needs: validate
steps:
- name: Checkout Code
uses: actions/checkout@v3
# test:
# runs-on: ubuntu-latest
# needs: validate
# steps:
# - name: Checkout Code
# uses: actions/checkout@v3

- name: Set up Terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.6
# - name: Set up Terraform
# uses: hashicorp/setup-terraform@v2
# with:
# terraform_version: 1.6

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

- name: Terraform Test
run: terraform test
# - name: Terraform Test
# run: terraform test

plan:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 16d4a3e

Please sign in to comment.