github: Update 'ubuntu-22.04' to 'ubuntu-latest' (#1022)

There was some inconsistency in the GitHub Workflow files on using
'ubuntu-latest' (which gets the latest Ubuntu version) or
'ubuntu-22.04'. To keep things consistent 'ubuntu-latest' is now used in
all cases. This also saves us updating workloads upon release of a new
Ubuntu version.
This commit is contained in:
Bobby R. Bruce
2024-04-15 09:55:56 -07:00
committed by GitHub
parent bdcffdd0f0
commit 630f3822b8
4 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ concurrency:
jobs:
pre-commit:
# runs on github hosted runner
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4
@@ -24,7 +24,7 @@ jobs:
# ensures we have a change-id in every commit, needed for gerrit
check-for-change-id:
# runs on github hosted runner
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4
@@ -189,7 +189,7 @@ jobs:
# merged. The 'testlib-quick-execution' is a matrix job which runs all the
# the testlib quick tests. This job is therefore a stub which will pass if
# all the testlib-quick-execution jobs pass.
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
needs: testlib-quick-execution
steps:
- run: echo "This job's status is ${{ job.status }}."