Skip to content

Commit bf6ea8a

Browse files
authored
Remove redundant shell definition (#358)
* remove redundant shell definition * Revert formatting changes * redefine shell where default is declared
1 parent 9c564c0 commit bf6ea8a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/setup-terraform.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ jobs:
253253
os: [ubuntu-latest, windows-latest, macos-latest]
254254
defaults:
255255
run:
256+
shell: bash
256257
working-directory: ./.github/workflows/data/local
257258
steps:
258259
- name: Checkout
@@ -262,20 +263,16 @@ jobs:
262263
uses: ./
263264

264265
- name: Terraform Init
265-
shell: bash
266266
run: terraform init
267267

268268
- name: Terraform Format
269-
shell: bash
270269
run: terraform fmt -check
271270

272271
- name: Terraform Plan
273272
id: plan
274-
shell: bash
275273
run: terraform plan
276274

277275
- name: Print Terraform Plan
278-
shell: bash
279276
run: echo "${{ steps.plan.outputs.stdout }}"
280277

281278
terraform-run-local-no-wrapper:
@@ -286,6 +283,7 @@ jobs:
286283
os: [ubuntu-latest, windows-latest, macos-latest]
287284
defaults:
288285
run:
286+
shell: bash
289287
working-directory: ./.github/workflows/data/local
290288
steps:
291289
- name: Checkout
@@ -297,14 +295,11 @@ jobs:
297295
terraform_wrapper: false
298296

299297
- name: Terraform Init
300-
shell: bash
301298
run: terraform init
302299

303300
- name: Terraform Format
304-
shell: bash
305301
run: terraform fmt -check
306302

307303
- name: Terraform Plan
308304
id: plan
309-
shell: bash
310305
run: terraform plan

0 commit comments

Comments
 (0)