Skip to content

Commit e218829

Browse files
committed
Change pipeline image to ubuntu-22.04.
1 parent 37c2fdc commit e218829

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.github/workflows/feature.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ on:
88
jobs:
99
pre-commit:
1010
name: Run pre-commit
11-
runs-on: ubuntu-latest
12-
container: python:3.7
11+
runs-on: ubuntu-22.04
1312
steps:
1413
- name: Checkout code
1514
uses: actions/checkout@v4
@@ -24,8 +23,7 @@ jobs:
2423

2524
unittests:
2625
name: Run tests
27-
runs-on: ubuntu-latest
28-
container: python:3.7
26+
runs-on: ubuntu-22.04
2927

3028
strategy:
3129
matrix:

.github/workflows/master.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ on:
99
jobs:
1010
pre-commit:
1111
name: Run pre-commit
12-
runs-on: ubuntu-latest
13-
container: python:3.7
12+
runs-on: ubuntu-22.04
1413

1514
steps:
1615
- name: Checkout code
@@ -26,8 +25,7 @@ jobs:
2625

2726
unittests:
2827
name: Run unittests
29-
runs-on: ubuntu-latest
30-
container: python:3.7
28+
runs-on: ubuntu-22.04
3129

3230
strategy:
3331
matrix:
@@ -47,8 +45,7 @@ jobs:
4745
name: Pre-release (test-pypi)
4846
needs: unittests
4947
if: success()
50-
runs-on: ubuntu-latest
51-
container: python:3.7
48+
runs-on: ubuntu-22.04
5249

5350
steps:
5451
- name: Checkout code
@@ -75,8 +72,7 @@ jobs:
7572
name: Release (pypi)
7673
needs: prerelease
7774
if: success() && (github.event_name == 'workflow_dispatch')
78-
runs-on: ubuntu-latest
79-
container: python:3.7
75+
runs-on: ubuntu-22.04
8076

8177
steps:
8278
- name: Download artifact

0 commit comments

Comments
 (0)