mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-16 08:32:34 +00:00
Remove redundant shell definition (#358)
* remove redundant shell definition * Revert formatting changes * redefine shell where default is declared
This commit is contained in:
parent
9c564c0569
commit
bf6ea8ac71
1 changed files with 2 additions and 7 deletions
9
.github/workflows/setup-terraform.yml
vendored
9
.github/workflows/setup-terraform.yml
vendored
|
|
@ -253,6 +253,7 @@ jobs:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
shell: bash
|
||||||
working-directory: ./.github/workflows/data/local
|
working-directory: ./.github/workflows/data/local
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
@ -262,20 +263,16 @@ jobs:
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
||||||
- name: Terraform Init
|
- name: Terraform Init
|
||||||
shell: bash
|
|
||||||
run: terraform init
|
run: terraform init
|
||||||
|
|
||||||
- name: Terraform Format
|
- name: Terraform Format
|
||||||
shell: bash
|
|
||||||
run: terraform fmt -check
|
run: terraform fmt -check
|
||||||
|
|
||||||
- name: Terraform Plan
|
- name: Terraform Plan
|
||||||
id: plan
|
id: plan
|
||||||
shell: bash
|
|
||||||
run: terraform plan
|
run: terraform plan
|
||||||
|
|
||||||
- name: Print Terraform Plan
|
- name: Print Terraform Plan
|
||||||
shell: bash
|
|
||||||
run: echo "${{ steps.plan.outputs.stdout }}"
|
run: echo "${{ steps.plan.outputs.stdout }}"
|
||||||
|
|
||||||
terraform-run-local-no-wrapper:
|
terraform-run-local-no-wrapper:
|
||||||
|
|
@ -286,6 +283,7 @@ jobs:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
shell: bash
|
||||||
working-directory: ./.github/workflows/data/local
|
working-directory: ./.github/workflows/data/local
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
@ -297,14 +295,11 @@ jobs:
|
||||||
terraform_wrapper: false
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Terraform Init
|
- name: Terraform Init
|
||||||
shell: bash
|
|
||||||
run: terraform init
|
run: terraform init
|
||||||
|
|
||||||
- name: Terraform Format
|
- name: Terraform Format
|
||||||
shell: bash
|
|
||||||
run: terraform fmt -check
|
run: terraform fmt -check
|
||||||
|
|
||||||
- name: Terraform Plan
|
- name: Terraform Plan
|
||||||
id: plan
|
id: plan
|
||||||
shell: bash
|
|
||||||
run: terraform plan
|
run: terraform plan
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue