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]
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
working-directory: ./.github/workflows/data/local
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
@ -262,20 +263,16 @@ jobs:
|
|||
uses: ./
|
||||
|
||||
- name: Terraform Init
|
||||
shell: bash
|
||||
run: terraform init
|
||||
|
||||
- name: Terraform Format
|
||||
shell: bash
|
||||
run: terraform fmt -check
|
||||
|
||||
- name: Terraform Plan
|
||||
id: plan
|
||||
shell: bash
|
||||
run: terraform plan
|
||||
|
||||
- name: Print Terraform Plan
|
||||
shell: bash
|
||||
run: echo "${{ steps.plan.outputs.stdout }}"
|
||||
|
||||
terraform-run-local-no-wrapper:
|
||||
|
|
@ -286,6 +283,7 @@ jobs:
|
|||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
working-directory: ./.github/workflows/data/local
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
@ -297,14 +295,11 @@ jobs:
|
|||
terraform_wrapper: false
|
||||
|
||||
- name: Terraform Init
|
||||
shell: bash
|
||||
run: terraform init
|
||||
|
||||
- name: Terraform Format
|
||||
shell: bash
|
||||
run: terraform fmt -check
|
||||
|
||||
- name: Terraform Plan
|
||||
id: plan
|
||||
shell: bash
|
||||
run: terraform plan
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue