From 930f500243c01320bf6cc102abec706b00523445 Mon Sep 17 00:00:00 2001 From: Shadi Naif Date: Thu, 8 Dec 2022 11:07:27 +0300 Subject: [PATCH 1/2] Pin actions OS to ubuntu-20.04 --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 44494439..e3f88c59 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: include: From 8054258425886da097c8cbe4770fabc756509658 Mon Sep 17 00:00:00 2001 From: Shadi Naif Date: Thu, 8 Dec 2022 14:44:55 +0300 Subject: [PATCH 2/2] Downgrade tox to 3.9 to keep supporting Python 2.7 --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e3f88c59..558c7b27 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,12 +30,12 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - name: install dependencies run: | - pip install tox flake8 + pip install tox==3.9 flake8 - name: Uses Node.js uses: actions/setup-node@v1 with: