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 3, 2024
1 parent 4d0deeb commit c3b9b40
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-latest
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-latest
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-latest
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-latest
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-latest
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-latest
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-latest
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-latest
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-latest
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-latest
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-latest
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 Latest)
runs-on: ubuntu-latest
- 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-latest
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down

0 comments on commit c3b9b40

Please sign in to comment.