Skip to content

Commit 580c734

Browse files
authored
Merge pull request #106 from PerfectThymeTech/marvinbuss/update_workflow_defaults
Update Dependency References and Versions
2 parents 502b19c + 1e67faf commit 580c734

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

.github/workflows/_functionAppDeployTemplate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
python_version:
1212
required: true
1313
type: string
14-
default: "3.10"
14+
default: "3.11"
1515
description: "Specifies the python version."
1616
function_directory:
1717
required: true
@@ -50,8 +50,8 @@ jobs:
5050
id: checkout_repository
5151
uses: actions/checkout@v4
5252

53-
# Setup Python 3.10
54-
- name: Setup Python 3.10
53+
# Setup Python
54+
- name: Setup Python
5555
id: python_setup
5656
uses: actions/setup-python@v5
5757
with:

.github/workflows/_functionAppTestTemplate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
python_version:
77
required: true
88
type: string
9-
default: "3.10"
9+
default: "3.11"
1010
description: "Specifies the python version."
1111
function_directory:
1212
required: true
@@ -25,8 +25,8 @@ jobs:
2525
id: checkout_repository
2626
uses: actions/checkout@v4
2727

28-
# Setup Python 3.10
29-
- name: Setup Python 3.10
28+
# Setup Python
29+
- name: Setup Python
3030
id: python_setup
3131
uses: actions/setup-python@v5
3232
with:

.github/workflows/_terraformEnvironmentTemplate.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
required: true
1616
type: string
1717
description: "Specifies the terraform version."
18+
node_version:
19+
required: true
20+
type: number
21+
description: "Specifies the node version."
1822
working_directory:
1923
required: true
2024
type: string
@@ -110,7 +114,7 @@ jobs:
110114
id: node_setup
111115
uses: actions/setup-node@v4
112116
with:
113-
node-version: 18
117+
node-version: ${{ inputs.node_version }}
114118

115119
# Setup Terraform
116120
- name: Setup Terraform
@@ -205,7 +209,7 @@ jobs:
205209
id: node_setup
206210
uses: actions/setup-node@v4
207211
with:
208-
node-version: 18
212+
node-version: ${{ inputs.node_version }}
209213

210214
# Setup Terraform
211215
- name: Setup Terraform

.github/workflows/functionApp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: ./.github/workflows/_functionAppTestTemplate.yml
2020
name: "Function App Test"
2121
with:
22-
python_version: "3.10"
22+
python_version: "3.11"
2323
function_directory: "./code/function"
2424

2525
function_container:

.github/workflows/terraform.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
environment: "dev"
2323
config: "PerfectThymeTech"
2424
terraform_version: "1.6.6"
25+
node_version: 18
2526
working_directory: "./code/infra"
2627
tenant_id: "3556be79-2979-4b19-a1af-4dd4e6d9ed7e"
2728
subscription_id: "8f171ff9-2b5b-4f0f-aed5-7fa360a1d094"

0 commit comments

Comments
 (0)