From eeee23062c789f58eb77ca5d06e2578dce935aae Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Mon, 9 Sep 2024 09:59:09 -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/edx-val/issues/519 --- .github/workflows/check-reserved-keywords.yml | 2 +- .github/workflows/ci.yml | 4 ++-- .github/workflows/pypi-publish.yml | 2 +- .github/workflows/verify_changed_contract.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-reserved-keywords.yml b/.github/workflows/check-reserved-keywords.yml index 7c535ade..ee6440a2 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 f4461e9b..cf8c3094 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-latest] python-version: ['3.8', '3.11'] toxenv: [django42, quality] @@ -46,7 +46,7 @@ jobs: provider-verification: name: Pact Provider Verification - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: run_tests steps: diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 49cb69d1..94a11e2f 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 diff --git a/.github/workflows/verify_changed_contract.yml b/.github/workflows/verify_changed_contract.yml index d9f05a34..02288b4d 100644 --- a/.github/workflows/verify_changed_contract.yml +++ b/.github/workflows/verify_changed_contract.yml @@ -15,7 +15,7 @@ env: jobs: changed-contract-verification: name: Pact Provider Verification for a changed contract - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout code