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

View File

@@ -61,7 +61,7 @@ jobs:
# I.e., if we want to stop pull requests from being merged if the # I.e., if we want to stop pull requests from being merged if the
# compiler tests are failing, we can add this job as a required status # compiler tests are failing, we can add this job as a required status
# check. # check.
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
needs: needs:
- latest-compilers-all-gem5-builds - latest-compilers-all-gem5-builds
- all-compilers - all-compilers

View File

@@ -304,7 +304,7 @@ jobs:
# I.e., if we want to stop pull requests from being merged if the # I.e., if we want to stop pull requests from being merged if the
# daily tests are failing we can add this job as a required status # daily tests are failing we can add this job as a required status
# check. # check.
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
needs: needs:
- unittests-fast-debug - unittests-fast-debug
- testlib-long-tests - testlib-long-tests

View File

@@ -187,7 +187,7 @@ jobs:
# I.e., if we want to stop pull requests from being merged if the # I.e., if we want to stop pull requests from being merged if the
# weekly tests are failing we can add this job as a required status # weekly tests are failing we can add this job as a required status
# check. # check.
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
needs: needs:
- testlib-very-long-tests - testlib-very-long-tests
- dramsys-tests - dramsys-tests