Skip to content

Commit

Permalink
Pin actions to Ubuntu 20.04 (#590)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
onlinehub0808 committed Dec 8, 2022
1 parent 2c850ac commit 2ec8440
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- '3.8'
- '3.9'
- '3.10'
os: [ ubuntu-latest ]
os: [ ubuntu-20.04 ]
env:
OS: ${{ matrix.os }}
PYTHON_VERSION: ${{ matrix.python-version }}
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
env_vars: OS,PYTHON_VERSION

build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
python-version:
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
compat:
name: Public API compatibility
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
tag:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
11 changes: 11 additions & 0 deletions dev-requirements-py3.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
-r ./dev-requirements.txt
prospector[with_pyroma]

# More recent versions of these linters introduce rules that make it fail.
# Pin these versions to keep the ruleset fixed.
dodgy==0.2.1
flake8==4.0.1
flake8-polyfill==1.0.2
mccabe==0.6.1
prospector==1.7.7
pycodestyle==2.8.0
pyflakes==2.4.0
pylint==2.13.9

0 comments on commit 2ec8440

Please sign in to comment.