do not prompt for hcloud token if it is already in env #869
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: Validate Terraform | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
terraform: | |
name: Validate Terraform | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v2 | |
- name: Terraform Format | |
run: terraform fmt -recursive -check -diff | |
- name: Terraform Init | |
run: terraform init | |
- name: Terraform Validate | |
run: terraform validate -no-color |