File tree Expand file tree Collapse file tree 7 files changed +18
-11
lines changed Expand file tree Collapse file tree 7 files changed +18
-11
lines changed Original file line number Diff line number Diff line change 3737jobs :
3838 deployment :
3939 name : Container Build & Push
40- runs-on : ubuntu-latest
40+ runs-on : [ ubuntu-latest]
4141 continue-on-error : false
4242 environment : ${{ inputs.environment }}
4343
Original file line number Diff line number Diff line change 4040jobs :
4141 deployment :
4242 name : Function App Deploy
43- runs-on : self-hosted
43+ runs-on : [ self-hosted]
4444 continue-on-error : false
4545 environment : ${{ inputs.environment }}
4646
Original file line number Diff line number Diff line change 1616jobs :
1717 deployment :
1818 name : Function App Test
19- runs-on : ubuntu-latest
19+ runs-on : [ ubuntu-latest]
2020 continue-on-error : false
2121
2222 steps :
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ permissions:
5050jobs :
5151 lint :
5252 name : Terraform Lint
53- runs-on : ubuntu-latest
53+ runs-on : [ ubuntu-latest]
5454 continue-on-error : false
5555
5656 steps :
9696
9797 plan :
9898 name : Terraform Plan
99- runs-on : self-hosted
99+ runs-on : [ self-hosted]
100100 continue-on-error : false
101101 environment : ${{ inputs.environment }}
102102 needs : [lint]
@@ -190,7 +190,7 @@ jobs:
190190
191191 apply :
192192 name : Terraform Apply
193- runs-on : self-hosted
193+ runs-on : [ self-hosted]
194194 continue-on-error : false
195195 environment : ${{ inputs.environment }}
196196 if : github.event_name == 'push' || github.event_name == 'release'
Original file line number Diff line number Diff line change 1010jobs :
1111 lint :
1212 name : Lint and Test
13- runs-on : ubuntu-latest
13+ runs-on : [ubuntu-latest]
14+ continue-on-error : false
1415
1516 steps :
1617 # Setup Python 3.11
3738 - name : Run Linting
3839 id : linting
3940 run : |
40- pip install -r requirements.txt -q
41+ echo "Install dependencies"
42+ python3 -m pip install -r requirements.txt -q
43+
44+ echo "Initialize Git"
4145 git init
4246 git add *
43- pre-commit install --install-hooks
44- pre-commit run --all-files --verbose
47+
48+ echo "Run pre-commit"
49+ python3 -m pre_commit install --install-hooks
50+ python3 -m pre_commit run --all-files --verbose
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ permissions:
1515env :
1616 TAG_NAME : ${{ github.event.inputs.tag_name || github.event.release.tag_name }}
1717
18-
1918jobs :
2019 update_tag :
2120 name : Update the major tag to include the ${{ github.event.inputs.tag_name || github.event.release.tag_name }} changes
Original file line number Diff line number Diff line change 66 paths :
77 - " **.tf"
88 - " code/infra/**"
9+ - " .github/workflows/terraform.yml"
910
1011 pull_request :
1112 branches :
1213 - main
1314 paths :
1415 - " **.tf"
1516 - " code/infra/**"
17+ - " .github/workflows/terraform.yml"
1618
1719jobs :
1820 terraform_dev :
You can’t perform that action at this time.
0 commit comments