Skip to content

Commit 18fc0c1

Browse files
authored
Merge pull request #172973 from Homebrew/SMillerDev-patch-1
fix: run scheduled checks on macOS
2 parents 1ad4d40 + 85fbefb commit 18fc0c1

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/scheduled.yml

+2-12
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,10 @@ concurrency:
1717
permissions:
1818
issues: write
1919

20-
env:
21-
HOMEBREW_SIMULATE_MACOS_ON_LINUX: 1
22-
2320
jobs:
2421
create_matrix:
2522
if: startsWith( github.repository, 'Homebrew/' )
26-
runs-on: ubuntu-22.04
27-
container:
28-
image: ghcr.io/homebrew/ubuntu22.04:master
23+
runs-on: macos-latest
2924
outputs:
3025
json: ${{ steps.matrix.outputs.json }}
3126
env:
@@ -54,8 +49,6 @@ jobs:
5449
audit_online:
5550
if: startsWith( github.repository, 'Homebrew/' )
5651
runs-on: ${{ matrix.os }}
57-
container:
58-
image: ghcr.io/homebrew/ubuntu22.04:master
5952
needs: create_matrix
6053
name: "Online check (${{ matrix.os }}): ${{ matrix.cask }}"
6154
env:
@@ -66,7 +59,7 @@ jobs:
6659
fail-fast: false
6760
matrix:
6861
cask: ${{ fromJson(needs.create_matrix.outputs.json) }}
69-
os: [ubuntu-22.04]
62+
os: [macos-latest]
7063
steps:
7164
- name: Set up Homebrew
7265
id: set-up-homebrew
@@ -78,7 +71,6 @@ jobs:
7871

7972
- name: Check cask source is not archived.
8073
id: archived
81-
if: matrix.os != 'macos-latest'
8274
run: brew audit --cask --online --skip-style --only github_repository_archived,gitlab_repository_archived ${{ matrix.cask }}
8375

8476
- name: Report online issues
@@ -90,7 +82,6 @@ jobs:
9082
9183
- name: Check cask for unavailable homepage.
9284
id: homepage
93-
if: matrix.os != 'macos-latest'
9485
run: brew audit --cask --online --skip-style --only homepage ${{ matrix.cask }}
9586

9687
- name: Report homepage issues
@@ -102,7 +93,6 @@ jobs:
10293
10394
- name: Check cask for missing sources.
10495
id: fetch
105-
if: matrix.os != 'macos-latest'
10696
run: brew fetch --cask -s ${{ matrix.cask }}
10797

10898
- name: Report fetch issues

0 commit comments

Comments
 (0)