CI: Use ubuntu-22.04 rather than ubuntu-latest (ubuntu-20.04)

Use ubuntu-22.04 for the CI tests rather than ubuntu-latest,
which is currently ubuntu-20.04.
This commit is contained in:
Shaun Jackman 2022-08-31 11:01:59 -07:00 committed by Mike McQuaid
parent b9e1a51266
commit 0de4282511
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829
7 changed files with 14 additions and 14 deletions

View File

@ -11,7 +11,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
actions: read
contents: read

View File

@ -14,7 +14,7 @@ permissions:
jobs:
ubuntu:
if: startsWith(github.repository, 'Homebrew/')
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:

View File

@ -21,7 +21,7 @@ permissions:
jobs:
updates:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.repository == 'Homebrew/brew'
steps:
- name: Setup Homebrew

View File

@ -15,7 +15,7 @@ permissions:
jobs:
spdx:
if: github.repository == 'Homebrew/brew'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Set up Homebrew
id: set-up-homebrew

View File

@ -20,7 +20,7 @@ concurrency:
jobs:
syntax:
if: github.repository == 'Homebrew/brew'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Set up Homebrew
id: set-up-homebrew
@ -52,7 +52,7 @@ jobs:
name: tap syntax (Linux)
needs: syntax
if: startsWith(github.repository, 'Homebrew/')
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Set up Homebrew
id: set-up-homebrew
@ -146,7 +146,7 @@ jobs:
vendored-gems:
name: vendored gems (Linux)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Set up Homebrew
id: set-up-homebrew
@ -167,7 +167,7 @@ jobs:
docker:
needs: syntax
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Set up Homebrew
id: set-up-homebrew
@ -191,7 +191,7 @@ jobs:
tests:
name: ${{ matrix.name }}
needs: syntax
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
include:
@ -244,7 +244,7 @@ jobs:
test-default-formula-linux:
name: test default formula (Linux)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
HOMEBREW_BOOTSNAP: 1
steps:

View File

@ -29,7 +29,7 @@ jobs:
contains(github.event.pull_request.labels.*.name, 'stale')
)
)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Mark/Close Stale Issues and Pull Requests
uses: actions/stale@v5
@ -55,7 +55,7 @@ jobs:
contains(github.event.pull_request.labels.*.name, 'stale')
)
)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Mark/Close Stale `bump-formula-pr` and `bump-cask-pr` Pull Requests
uses: actions/stale@v5
@ -72,7 +72,7 @@ jobs:
lock-threads:
if: startsWith(github.repository, 'Homebrew/') && github.event_name != 'issue_comment'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Lock Outdated Threads
uses: dessant/lock-threads@e460dfeb36e731f3aeb214be6b0c9a9d9a67eda6

View File

@ -18,7 +18,7 @@ concurrency: triage-${{ github.head_ref }}
jobs:
review:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: startsWith(github.repository, 'Homebrew/')
steps:
- name: Re-run this workflow