From 076e6c8df2c2ed786a82b65be8817f6d2352561a Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Thu, 5 Dec 2024 11:07:22 -0500 Subject: [PATCH] build: Switch to ubuntu-latest for builds (#13) 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 --- .github/workflows/ci.yml | 3 +-- .github/workflows/pypi-release.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e52a4bf..87d661f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: - - ubuntu-20.04 + os: ["ubuntu-latest"] python-version: ['3.8', '3.11'] toxenv: [django42] diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 140603a..c913573 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -7,7 +7,7 @@ on: jobs: push: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout