Fix: Github CI dropped support for Python 3.6 on ubuntu-latest
@@ -10,7 +10,7 @@ on:
jobs:
lint-python:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
steps:
- name: Repository checkout
uses: actions/checkout@v3
@@ -29,7 +29,7 @@ jobs:
tox -e lint
lint-shell:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
steps:
- name: Repository checkout
uses: actions/checkout@v3
@@ -38,7 +38,7 @@ jobs:
uses: ludeeus/action-shellcheck@master
check:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
steps:
- name: Repository checkout
uses: actions/checkout@v3
@@ -57,13 +57,15 @@ jobs:
tox -e check
test:
- runs-on: ubuntu-latest
strategy:
matrix:
- python-version:
- - "3.6"
- - "3.8"
- - "3.10"
+ python-version: ["3.8", "3.11"]
+ os: ubuntu-latest
+ include:
+ - os: ubuntu-20.04
+ python-version: 3.6
+
+ runs-on: ${{ matrix.os }}
steps:
- name: Repository checkout
uses: actions/checkout@v3
