Skip to content

Commit 37c2fdc

Browse files
committed
Change image to ubuntu latest and container to python 3.7.
1 parent 4cbf677 commit 37c2fdc

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/workflows/feature.yml

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

2425
unittests:
2526
name: Run tests
26-
runs-on: ubuntu-20.04
27+
runs-on: ubuntu-latest
28+
container: python:3.7
2729

2830
strategy:
2931
matrix:

.github/workflows/master.yml

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

1415
steps:
1516
- name: Checkout code
@@ -25,7 +26,8 @@ jobs:
2526

2627
unittests:
2728
name: Run unittests
28-
runs-on: ubuntu-20.04
29+
runs-on: ubuntu-latest
30+
container: python:3.7
2931

3032
strategy:
3133
matrix:
@@ -45,7 +47,8 @@ jobs:
4547
name: Pre-release (test-pypi)
4648
needs: unittests
4749
if: success()
48-
runs-on: ubuntu-20.04
50+
runs-on: ubuntu-latest
51+
container: python:3.7
4952

5053
steps:
5154
- name: Checkout code
@@ -72,7 +75,8 @@ jobs:
7275
name: Release (pypi)
7376
needs: prerelease
7477
if: success() && (github.event_name == 'workflow_dispatch')
75-
runs-on: ubuntu-20.04
78+
runs-on: ubuntu-latest
79+
container: python:3.7
7680

7781
steps:
7882
- name: Download artifact

0 commit comments

Comments
 (0)