Skip to content

Commit 6b91426

Browse files
authored
Replace ubuntu-20.04 with 24.04 in ci.yml
In April 2025, GH ubuntu-20.04 runners will be gone.
1 parent 536e09f commit 6b91426

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on: # yamllint disable-line rule:truthy rule:comments
1111

1212
jobs:
1313
black:
14-
runs-on: "ubuntu-20.04"
14+
runs-on: "ubuntu-24.04"
1515
env:
1616
INVOKE_LOCAL: "True"
1717
steps:
@@ -22,7 +22,7 @@ jobs:
2222
- name: "Linting: black"
2323
run: "poetry run invoke black"
2424
mypy:
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: mypy"
3434
run: "poetry run invoke mypy"
3535
bandit:
36-
runs-on: "ubuntu-20.04"
36+
runs-on: "ubuntu-24.04"
3737
env:
3838
INVOKE_LOCAL: "True"
3939
steps:
@@ -44,7 +44,7 @@ jobs:
4444
- name: "Linting: bandit"
4545
run: "poetry run invoke bandit"
4646
pydocstyle:
47-
runs-on: "ubuntu-20.04"
47+
runs-on: "ubuntu-24.04"
4848
env:
4949
INVOKE_LOCAL: "True"
5050
steps:
@@ -55,7 +55,7 @@ jobs:
5555
- name: "Linting: pydocstyle"
5656
run: "poetry run invoke pydocstyle"
5757
flake8:
58-
runs-on: "ubuntu-20.04"
58+
runs-on: "ubuntu-24.04"
5959
env:
6060
INVOKE_LOCAL: "True"
6161
steps:
@@ -66,7 +66,7 @@ jobs:
6666
- name: "Linting: flake8"
6767
run: "poetry run invoke flake8"
6868
yamllint:
69-
runs-on: "ubuntu-20.04"
69+
runs-on: "ubuntu-24.04"
7070
env:
7171
INVOKE_LOCAL: "True"
7272
steps:
@@ -84,7 +84,7 @@ jobs:
8484
- "yamllint"
8585
- "black"
8686
- "mypy"
87-
runs-on: "ubuntu-20.04"
87+
runs-on: "ubuntu-24.04"
8888
strategy:
8989
fail-fast: true
9090
matrix:
@@ -106,7 +106,7 @@ jobs:
106106
fail-fast: true
107107
matrix:
108108
python-version: ["3.8", "3.9", "3.10", "3.11"]
109-
runs-on: "ubuntu-20.04"
109+
runs-on: "ubuntu-24.04"
110110
env:
111111
PYTHON_VER: "${{ matrix.python-version }}"
112112
INVOKE_LOCAL: "True"
@@ -121,7 +121,7 @@ jobs:
121121
needs:
122122
- "pytest"
123123
name: "Publish to GitHub"
124-
runs-on: "ubuntu-20.04"
124+
runs-on: "ubuntu-24.04"
125125
if: "startsWith(github.ref, 'refs/tags/v')"
126126
steps:
127127
- name: "Check out repository code"
@@ -150,7 +150,7 @@ jobs:
150150
needs:
151151
- "pytest"
152152
name: "Push Package to PyPI"
153-
runs-on: "ubuntu-20.04"
153+
runs-on: "ubuntu-24.04"
154154
if: "startsWith(github.ref, 'refs/tags/v')"
155155
steps:
156156
- name: "Check out repository code"
@@ -177,7 +177,7 @@ jobs:
177177
- "publish_gh"
178178
- "publish_pypi"
179179
name: "Send notification to the Slack"
180-
runs-on: "ubuntu-20.04"
180+
runs-on: "ubuntu-24.04"
181181
env:
182182
SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}"
183183
SLACK_MESSAGE: >-

0 commit comments

Comments
 (0)