From fb7b80617e516b1a238c5ef5e8cdc41ca1b199d3 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Mon, 9 Sep 2024 09:49:36 -0400 Subject: [PATCH] build: Switch to ubuntu-latest for builds 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/course-discovery/issues/4410 --- .github/workflows/migrations-check-mysql8.yml | 2 +- .github/workflows/requirements-upgrade.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/migrations-check-mysql8.yml b/.github/workflows/migrations-check-mysql8.yml index 7a9e830da7..dbff153348 100644 --- a/.github/workflows/migrations-check-mysql8.yml +++ b/.github/workflows/migrations-check-mysql8.yml @@ -13,7 +13,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-20.04 ] + os: [ ubuntu-latest ] python-version: [ 3.12 ] steps: diff --git a/.github/workflows/requirements-upgrade.yml b/.github/workflows/requirements-upgrade.yml index c4daddefde..8bfaa70e75 100644 --- a/.github/workflows/requirements-upgrade.yml +++ b/.github/workflows/requirements-upgrade.yml @@ -13,7 +13,7 @@ on: jobs: upgrade_requirements: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: