From 80eff725a36163062ce324920d5731ff6a1a376f Mon Sep 17 00:00:00 2001 From: Jillian Date: Thu, 5 Sep 2024 08:50:24 +0930 Subject: [PATCH] build: adds ubuntu-24.04 (#261) * chore: Upgrade Python requirements * fix: pin edx-lint<5.4 to avoid quality error with python 3.8 AttributeError: module 'importlib.resources' has no attribute 'files' * build: add compile-requirements make target * chore: bumps version to 3.7.9 * build: use ubuntu-latest in CI --- .github/workflows/check-reserved-keywords.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/migrations-check.yml | 2 +- .github/workflows/pypi-publish.yml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-reserved-keywords.yml b/.github/workflows/check-reserved-keywords.yml index 7c535ad..ee6440a 100644 --- a/.github/workflows/check-reserved-keywords.yml +++ b/.github/workflows/check-reserved-keywords.yml @@ -6,7 +6,7 @@ on: jobs: check-reserved-keywords: name: Check Reserved Keywords - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout code diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0399f46..f943d52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04] + os: [ ubuntu-20.04, ubuntu-latest ] python-version: ['3.8', '3.11', '3.12'] toxenv: [quality, docs, django42-drf315, django42-drflatest] diff --git a/.github/workflows/migrations-check.yml b/.github/workflows/migrations-check.yml index 433b8b2..a538a9c 100644 --- a/.github/workflows/migrations-check.yml +++ b/.github/workflows/migrations-check.yml @@ -13,7 +13,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-20.04 ] + os: [ ubuntu-20.04, ubuntu-latest ] python-version: [ 3.8 ] steps: diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index a4fec39..94a11e2 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -7,7 +7,7 @@ on: jobs: push: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout @@ -30,4 +30,4 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ - password: ${{ secrets.PYPI_UPLOAD_TOKEN }} \ No newline at end of file + password: ${{ secrets.PYPI_UPLOAD_TOKEN }}