Skip to content

Commit

Permalink
Remove redundant shell definition (#358)
Browse files Browse the repository at this point in the history
* remove redundant shell definition

* Revert formatting changes

* redefine shell where default is declared
  • Loading branch information
rdhar authored Oct 17, 2023
1 parent 9c564c0 commit bf6ea8a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/setup-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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

0 comments on commit bf6ea8a

Please sign in to comment.