Skip to content

Commit

Permalink
build: Switch to ubuntu-latest for builds
Browse files Browse the repository at this point in the history
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 openedx/platform-roadmap#377

closes #149
  • Loading branch information
feanil committed Sep 9, 2024
1 parent fdc8e45 commit 85e8dff
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bulk_repo_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ on:
jobs:

repos_list:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

outputs:
output1: ${{ steps.repos_list.outputs.list }}
Expand All @@ -74,7 +74,7 @@ jobs:
echo "::set-output name=list::[${{github.event.inputs.repos_list}}]"
bulk_update:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: [ repos_list ]
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ defaults:

jobs:
commitlint:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lockfile-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
version-check:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lockfileversion-check-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
version-check:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lockfileversion-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
version-check:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
outputs:
output1: ${{ steps.getversion.outputs.version }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/merge-python-requirements-upgrade-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:
jobs:
get_list_of_prs:
name: Get list of PRs
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
outputs:
urls: ${{ steps.generate_urls.outputs.urls }}
steps:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
merge_pr:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs:
- get_list_of_prs
if: needs.get_list_of_prs.outputs.urls != '[]' # Skip if there are no URLs found
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repo-health-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ on:

jobs:
repo_health_check:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-python-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ on:

jobs:
upgrade_requirements:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: setup target branch
Expand Down

0 comments on commit 85e8dff

Please sign in to comment.