Skip to content

Commit 7b0a73f

Browse files
committed
Use ubuntu-20.04 instead of ubuntu-latest which is now 22.04
Python 3.6 is not supported by GitHub on Ubuntu 22.04
1 parent d456e33 commit 7b0a73f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/all-in-one.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
#
2222
cancel:
2323
name: "Cancel previous workflow runs"
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-20.04
2525
timeout-minutes: 3
2626
steps:
2727
- uses: styfle/[email protected]
@@ -36,7 +36,7 @@ jobs:
3636
name: "Gather information about the build"
3737
needs:
3838
- cancel
39-
runs-on: ubuntu-latest
39+
runs-on: ubuntu-20.04
4040
outputs:
4141
branch: ${{ steps.gather_info.outputs.branch }}
4242
version: ${{ steps.gather_info.outputs.version }}
@@ -91,7 +91,7 @@ jobs:
9191
name: "Run tests"
9292
needs:
9393
- gather_info
94-
runs-on: ubuntu-latest
94+
runs-on: ubuntu-20.04
9595
strategy:
9696
matrix:
9797
python-version:
@@ -152,7 +152,7 @@ jobs:
152152
needs:
153153
- gather_info
154154
name: "Lint the Helm chart"
155-
runs-on: ubuntu-latest
155+
runs-on: ubuntu-20.04
156156
steps:
157157
- name: Checkout repository files
158158
uses: actions/checkout@v3
@@ -174,7 +174,7 @@ jobs:
174174
run: ct lint --all
175175

176176
# install-chart:
177-
# runs-on: ubuntu-latest
177+
# runs-on: ubuntu-20.04
178178
# needs: lint-chart
179179
# strategy:
180180
# matrix:
@@ -219,7 +219,7 @@ jobs:
219219
- lint_chart
220220
if: "needs.gather_info.outputs.release == 'true'"
221221
name: "Build and publish container images for release"
222-
runs-on: ubuntu-latest
222+
runs-on: ubuntu-20.04
223223
steps:
224224
- name: Checkout repository files
225225
uses: actions/checkout@v3
@@ -275,7 +275,7 @@ jobs:
275275
needs:
276276
- gather_info
277277
if: "needs.gather_info.outputs.release == 'false'"
278-
runs-on: ubuntu-latest
278+
runs-on: ubuntu-20.04
279279
steps:
280280
- name: Checkout repository files
281281
uses: actions/checkout@v3
@@ -333,7 +333,7 @@ jobs:
333333
- tests
334334
- lint_chart
335335
if: "needs.gather_info.outputs.release == 'true'"
336-
runs-on: ubuntu-latest
336+
runs-on: ubuntu-20.04
337337
steps:
338338
- name: Checkout repository files
339339
uses: actions/checkout@v3
@@ -374,7 +374,7 @@ jobs:
374374
needs:
375375
- gather_info
376376
if: "needs.gather_info.outputs.release == 'false'"
377-
runs-on: ubuntu-latest
377+
runs-on: ubuntu-20.04
378378
steps:
379379
- name: Checkout repository files
380380
uses: actions/checkout@v3

0 commit comments

Comments
 (0)