Skip to content

Commit 6e72411

Browse files
committed
Move to ubuntu-slim
Let's try to see if these workers are faster and/or cheaper and still work.
1 parent 70badad commit 6e72411

20 files changed

+37
-37
lines changed

.github/workflows/actionlint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ permissions: {}
2626
jobs:
2727
workflow_syntax:
2828
if: github.repository_owner == 'Homebrew'
29-
runs-on: ubuntu-latest
29+
runs-on: ubuntu-slim
3030
permissions:
3131
contents: read
3232
container:
@@ -80,7 +80,7 @@ jobs:
8080
!contains(fromJSON('["cancelled", "skipped"]'), needs.workflow_syntax.result) &&
8181
!github.event.repository.private &&
8282
github.event_name != 'merge_group'
83-
runs-on: ubuntu-latest
83+
runs-on: ubuntu-slim
8484
permissions:
8585
contents: read
8686
security-events: write

.github/workflows/autogenerated-files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defaults:
2222

2323
jobs:
2424
autogenerated:
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-slim
2626
if: github.repository == 'Homebrew/brew'
2727
steps:
2828
- name: Set up Homebrew

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ defaults:
1414
jobs:
1515
analyze:
1616
name: Analyze
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-slim
1818
permissions:
1919
actions: read
2020
contents: read

.github/workflows/command-not-found-db-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676

7777
delete-old-versions:
7878
needs: update-database
79-
runs-on: ubuntu-latest
79+
runs-on: ubuntu-slim
8080
if: github.ref == 'refs/heads/main'
8181
permissions:
8282
packages: write

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
1111
copilot-setup-steps:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-slim
1313

1414
permissions:
1515
contents: read

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323
jobs:
2424
generate-tags:
2525
if: github.repository_owner == 'Homebrew'
26-
runs-on: ubuntu-latest
26+
runs-on: ubuntu-slim
2727
outputs:
2828
matrix: ${{ steps.attributes.outputs.matrix }}
2929
tags: ${{ steps.attributes.outputs.tags }}
@@ -135,7 +135,7 @@ jobs:
135135
needs: generate-tags
136136
if: github.repository_owner == 'Homebrew'
137137
name: docker (${{ matrix.arch }} Ubuntu ${{ matrix.version }})
138-
runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
138+
runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-slim' }}
139139
strategy:
140140
fail-fast: false
141141
matrix:
@@ -226,7 +226,7 @@ jobs:
226226
merge:
227227
needs: [generate-tags, build]
228228
if: github.repository_owner == 'Homebrew' && fromJSON(needs.generate-tags.outputs.merge)
229-
runs-on: ubuntu-latest
229+
runs-on: ubuntu-slim
230230
strategy:
231231
fail-fast: false
232232
matrix:

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defaults:
2323

2424
jobs:
2525
docs:
26-
runs-on: ubuntu-latest
26+
runs-on: ubuntu-slim
2727
steps:
2828
- name: Set up Homebrew
2929
id: set-up-homebrew
@@ -103,7 +103,7 @@ jobs:
103103
url: ${{ steps.deployment.outputs.page_url }}
104104
outputs:
105105
deploy_url: ${{ steps.deployment.outputs.page_url }}
106-
runs-on: ubuntu-latest
106+
runs-on: ubuntu-slim
107107
timeout-minutes: 10
108108
steps:
109109
- name: Deploy to GitHub Pages
@@ -116,7 +116,7 @@ jobs:
116116
if: ${{ github.repository == 'Homebrew/brew' && always() && github.ref_name == 'main' }}
117117
env:
118118
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
119-
runs-on: ubuntu-latest
119+
runs-on: ubuntu-slim
120120
timeout-minutes: 5
121121
permissions:
122122
issues: write # for Homebrew/actions/create-or-update-issue

.github/workflows/doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defaults:
2222

2323
jobs:
2424
determine-runners:
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-slim
2626
outputs:
2727
runners: ${{ steps.determine-runners.outputs.runners }}
2828
steps:

.github/workflows/sbom.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defaults:
2020
jobs:
2121
sbom:
2222
if: github.repository == 'Homebrew/brew'
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-slim
2424
steps:
2525
- name: Set up Homebrew
2626
id: set-up-homebrew
@@ -97,7 +97,7 @@ jobs:
9797
issue:
9898
needs: sbom
9999
if: always() && github.event_name == 'schedule'
100-
runs-on: ubuntu-latest
100+
runs-on: ubuntu-slim
101101
env:
102102
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
103103
permissions:

.github/workflows/sorbet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
issue:
118118
needs: tapioca
119119
if: always() && github.event_name == 'schedule'
120-
runs-on: ubuntu-latest
120+
runs-on: ubuntu-slim
121121
env:
122122
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
123123
permissions:

0 commit comments

Comments
 (0)