Skip to content

Commit 4cbf677

Browse files
committed
Change ubuntu image in workflows.
1 parent 7f5eec7 commit 4cbf677

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/feature.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
pre-commit:
1010
name: Run pre-commit
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-20.04
1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
@@ -23,7 +23,7 @@ jobs:
2323

2424
unittests:
2525
name: Run tests
26-
runs-on: ubuntu-latest
26+
runs-on: ubuntu-20.04
2727

2828
strategy:
2929
matrix:

.github/workflows/master.yml

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

1414
steps:
1515
- name: Checkout code
@@ -25,7 +25,7 @@ jobs:
2525

2626
unittests:
2727
name: Run unittests
28-
runs-on: ubuntu-latest
28+
runs-on: ubuntu-20.04
2929

3030
strategy:
3131
matrix:
@@ -45,7 +45,7 @@ jobs:
4545
name: Pre-release (test-pypi)
4646
needs: unittests
4747
if: success()
48-
runs-on: ubuntu-latest
48+
runs-on: ubuntu-20.04
4949

5050
steps:
5151
- name: Checkout code
@@ -72,7 +72,7 @@ jobs:
7272
name: Release (pypi)
7373
needs: prerelease
7474
if: success() && (github.event_name == 'workflow_dispatch')
75-
runs-on: ubuntu-latest
75+
runs-on: ubuntu-20.04
7676

7777
steps:
7878
- name: Download artifact

0 commit comments

Comments
 (0)