From 920921801f00edd4a1be23405c895c43ecb80727 Mon Sep 17 00:00:00 2001 From: user2589 Date: Mon, 29 May 2023 19:28:17 -0400 Subject: [PATCH] chore: fix github release and test actions [PR 52](https://github.com/ssc-oscar/oscar.py/pull/52) is failing because latest Ubuntu image no longer supports Python 3.6, which is installed on WoC servers. Fixing Ubuntu version to 20.04 should fix that --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5bc954e..e92f2b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: jobs: release: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 @@ -40,7 +40,7 @@ jobs: pypi_token: ${{ secrets.PYPI_TOKEN }} pages: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 23bc4bf..feaf140 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ on: [push, pull_request] jobs: test: name: Python ${{ matrix.python-version }} tests - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: