Skip to content

Commit

Permalink
ci: move to ubuntu 24.04
Browse files Browse the repository at this point in the history
Move to ubuntu 24.04 which is out for some time now.
Add coverage test using ubuntu 24.04

Not changing the default build CI version for core yet.
  • Loading branch information
iMichka committed Nov 2, 2024
1 parent 6dffecd commit 85ec5d5
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autogenerated-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defaults:

jobs:
autogenerated:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.repository == 'Homebrew/brew'
steps:
- name: Set up Homebrew
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ defaults:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
ubuntu:
if: github.repository_owner == 'Homebrew'
name: docker (Ubuntu ${{ matrix.version }})
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ defaults:

jobs:
docs:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defaults:

jobs:
determine-runners:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
runners: ${{ steps.determine-runners.outputs.runners }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rubydoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ defaults:
jobs:
rubydoc:
if: github.repository == 'Homebrew/brew'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/rubydoc/Gemfile
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defaults:
jobs:
spdx:
if: github.repository == 'Homebrew/brew'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spdx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defaults:
jobs:
spdx:
if: github.repository == 'Homebrew/brew'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sponsors-maintainers-man-completions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defaults:

jobs:
updates:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.repository == 'Homebrew/brew'
steps:
- name: Setup Homebrew
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ concurrency:
jobs:
syntax:
if: github.repository_owner == 'Homebrew'
runs-on: ubuntu-22.04
runs-on: ubuntu-4.04

Check failure on line 32 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / workflow_syntax

label "ubuntu-4.04" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-22.04", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-14.0", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-13.0", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "macos-12.0", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
vendored-gems:
name: vendored gems
needs: syntax
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down Expand Up @@ -225,8 +225,8 @@ jobs:
strategy:
matrix:
include:
- name: update-test (Ubuntu 22.04)
runs-on: ubuntu-22.04
- name: update-test (Ubuntu 24.04)
runs-on: ubuntu-24.04
- name: update-test (macOS)
runs-on: macos-15
steps:
Expand Down Expand Up @@ -257,6 +257,9 @@ jobs:
- name: tests (generic OS)
test-flags: --generic --coverage
runs-on: ubuntu-latest
- name: tests (Ubuntu 24.04)
test-flags: --coverage
runs-on: ubuntu-24.04
- name: tests (Ubuntu 22.04)
test-flags: --coverage
runs-on: ubuntu-22.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vendor-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ defaults:

jobs:
check-vendor-version:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down

0 comments on commit 85ec5d5

Please sign in to comment.