fix: update startup script to install packages successfully #18
Workflow file for this run
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
name: TF for GCP Infra | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [master] | |
jobs: | |
gcp_tf_validate: | |
runs-on: ubuntu-latest | |
environment: ${{ vars.ENVIRONMENT }} | |
name: Validate GCP Infrastructure | |
steps: | |
- name: Checking out the terraform code | |
uses: actions/checkout@v3 | |
- name: Setup `Terraform` | |
uses: hashicorp/setup-terraform@v2 | |
- name: Enter root tf directory | |
run: | | |
cd root | |
- 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 |