From 39c68f81869952dbb77d4774af2c28cdfb79d731 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Mon, 9 Sep 2024 09:58:26 -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-proctoring/issues/1224 --- .github/workflows/ci.yml | 2 +- .github/workflows/migrations-check.yml | 2 +- .github/workflows/publish-npm.yml | 2 +- .github/workflows/publish-pypi.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c720bb9fd6..418d999404 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-20.04"] + os: ["ubuntu-latest"] python-version: ["3.8", "3.11", "3.12"] node-version: ["18", "20"] toxenv: diff --git a/.github/workflows/migrations-check.yml b/.github/workflows/migrations-check.yml index 16bd593862..9471a83a33 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-latest ] python-version: [ "3.8", "3.11", "3.12" ] steps: diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 934466f586..02e7f61428 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -6,7 +6,7 @@ on: jobs: publish: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Setup node diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 1d05538513..655de4de3b 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -6,7 +6,7 @@ on: jobs: push: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Setup python