From 48d48976ac982d85adac282d758e75259a02c19e Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Tue, 10 Sep 2024 12:51:40 -0400 Subject: [PATCH] build: Switch to ubuntu-latest for builds (#480) This code does not have any dependencies that are specific to any specific version of ubuntu. So instead of testing on a specific version and then needing to do work to keep the versions up-to-date, we switch to the ubuntu-latest target which should be sufficient for testing purposes. This work is being done as a part of https://github.com/openedx/platform-roadmap/issues/377 closes https://github.com/openedx/edx-drf-extensions/issues/471 --- .github/workflows/ci.yml | 2 +- .github/workflows/pypi-publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b7f68aa..9e628763 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04] + os: [ubuntu-latest] python-version: ['3.11'] toxenv: [quality, docs, django42-drflatest] diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 3ef30371..30e02de3 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -8,7 +8,7 @@ on: jobs: push: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout