Skip to content

Commit 277653c

Browse files
authored
Replace ubuntu-20.04 with 24.04 in ci.yml
In April 2025, ubuntu-20.04 runners will be gone.
1 parent 85bfac4 commit 277653c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/ci.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on: # yamllint disable
1313
pull_request: ~
1414
jobs:
1515
validate_renovate:
16-
runs-on: "ubuntu-20.04"
16+
runs-on: "ubuntu-24.04"
1717
steps:
1818
- name: "Check out repository code"
1919
uses: "actions/checkout@v2"
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
pattern: "renovate.json"
2424
black:
25-
runs-on: "ubuntu-20.04"
25+
runs-on: "ubuntu-24.04"
2626
env:
2727
INVOKE_LOCAL: "True"
2828
steps:
@@ -33,7 +33,7 @@ jobs:
3333
- name: "Linting: black"
3434
run: "poetry run invoke black"
3535
bandit:
36-
runs-on: "ubuntu-20.04"
36+
runs-on: "ubuntu-24.04"
3737
env:
3838
INVOKE_LOCAL: "True"
3939
steps:
@@ -46,7 +46,7 @@ jobs:
4646
needs:
4747
- "black"
4848
pydocstyle:
49-
runs-on: "ubuntu-20.04"
49+
runs-on: "ubuntu-24.04"
5050
env:
5151
INVOKE_LOCAL: "True"
5252
steps:
@@ -59,7 +59,7 @@ jobs:
5959
needs:
6060
- "black"
6161
flake8:
62-
runs-on: "ubuntu-20.04"
62+
runs-on: "ubuntu-24.04"
6363
env:
6464
INVOKE_LOCAL: "True"
6565
steps:
@@ -72,7 +72,7 @@ jobs:
7272
needs:
7373
- "black"
7474
mypy:
75-
runs-on: "ubuntu-20.04"
75+
runs-on: "ubuntu-24.04"
7676
env:
7777
INVOKE_LOCAL: "True"
7878
steps:
@@ -85,7 +85,7 @@ jobs:
8585
needs:
8686
- "black"
8787
yamllint:
88-
runs-on: "ubuntu-20.04"
88+
runs-on: "ubuntu-24.04"
8989
env:
9090
INVOKE_LOCAL: "True"
9191
steps:
@@ -98,7 +98,7 @@ jobs:
9898
needs:
9999
- "black"
100100
build:
101-
runs-on: "ubuntu-20.04"
101+
runs-on: "ubuntu-24.04"
102102
steps:
103103
- name: "Check out repository code"
104104
uses: "actions/checkout@v2"
@@ -113,7 +113,7 @@ jobs:
113113
- "yamllint"
114114
- "mypy"
115115
pylint:
116-
runs-on: "ubuntu-20.04"
116+
runs-on: "ubuntu-24.04"
117117
steps:
118118
- name: "Check out repository code"
119119
uses: "actions/checkout@v2"
@@ -131,7 +131,7 @@ jobs:
131131
matrix:
132132
python-version: ["3.8", "3.9", "3.10", "3.11"]
133133
poetry-version: ["1.5.1"]
134-
runs-on: "ubuntu-20.04"
134+
runs-on: "ubuntu-24.04"
135135
env:
136136
PYTHON_VER: "${{ matrix.python-version }}"
137137
steps:
@@ -154,7 +154,7 @@ jobs:
154154
- "pylint"
155155
publish_gh:
156156
name: "Publish to GitHub"
157-
runs-on: "ubuntu-20.04"
157+
runs-on: "ubuntu-24.04"
158158
if: "startsWith(github.ref, 'refs/tags/v')"
159159
steps:
160160
- name: "Check out repository code"
@@ -183,7 +183,7 @@ jobs:
183183
- "unittest"
184184
publish_pypi:
185185
name: "Push Package to PyPI"
186-
runs-on: "ubuntu-20.04"
186+
runs-on: "ubuntu-24.04"
187187
if: "startsWith(github.ref, 'refs/tags/v')"
188188
steps:
189189
- name: "Check out repository code"
@@ -212,7 +212,7 @@ jobs:
212212
- "publish_gh"
213213
- "publish_pypi"
214214
name: "Send notification to the Slack"
215-
runs-on: "ubuntu-20.04"
215+
runs-on: "ubuntu-24.04"
216216
env:
217217
SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}"
218218
SLACK_MESSAGE: >-

0 commit comments

Comments
 (0)