Skip to content

Commit 91802a9

Browse files
authored
Pin actions to Ubuntu 20.04 (#590)
The pointer for `ubuntu-latest` was updated to 22.04 on Oct 3 (see actions/runner-images#6399). We still run tests on 2.7 and 3.6 and should deprecate support separately.
1 parent c3f9640 commit 91802a9

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.github/workflows/push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- '3.8'
1919
- '3.9'
2020
- '3.10'
21-
os: [ ubuntu-latest ]
21+
os: [ ubuntu-20.04 ]
2222
env:
2323
OS: ${{ matrix.os }}
2424
PYTHON_VERSION: ${{ matrix.python-version }}
@@ -60,7 +60,7 @@ jobs:
6060
env_vars: OS,PYTHON_VERSION
6161

6262
build:
63-
runs-on: ubuntu-latest
63+
runs-on: ubuntu-20.04
6464
strategy:
6565
matrix:
6666
python-version:
@@ -125,7 +125,7 @@ jobs:
125125
126126
compat:
127127
name: Public API compatibility
128-
runs-on: ubuntu-latest
128+
runs-on: ubuntu-20.04
129129
steps:
130130
- name: Checkout
131131
uses: actions/checkout@v2

.github/workflows/tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
tag:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-20.04
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v2

dev-requirements-py3.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
11
-r ./dev-requirements.txt
22
prospector[with_pyroma]
3+
4+
# More recent versions of these linters introduce rules that make it fail.
5+
# Pin these versions to keep the ruleset fixed.
6+
dodgy==0.2.1
7+
flake8==4.0.1
8+
flake8-polyfill==1.0.2
9+
mccabe==0.6.1
10+
prospector==1.7.7
11+
pycodestyle==2.8.0
12+
pyflakes==2.4.0
13+
pylint==2.13.9

0 commit comments

Comments
 (0)