Skip to content

Commit

Permalink
Merge pull request #172973 from Homebrew/SMillerDev-patch-1
Browse files Browse the repository at this point in the history
fix: run scheduled checks on macOS
  • Loading branch information
miccal authored May 5, 2024
2 parents 1ad4d40 + 85fbefb commit 18fc0c1
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,10 @@ concurrency:
permissions:
issues: write

env:
HOMEBREW_SIMULATE_MACOS_ON_LINUX: 1

jobs:
create_matrix:
if: startsWith( github.repository, 'Homebrew/' )
runs-on: ubuntu-22.04
container:
image: ghcr.io/homebrew/ubuntu22.04:master
runs-on: macos-latest
outputs:
json: ${{ steps.matrix.outputs.json }}
env:
Expand Down Expand Up @@ -54,8 +49,6 @@ jobs:
audit_online:
if: startsWith( github.repository, 'Homebrew/' )
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/homebrew/ubuntu22.04:master
needs: create_matrix
name: "Online check (${{ matrix.os }}): ${{ matrix.cask }}"
env:
Expand All @@ -66,7 +59,7 @@ jobs:
fail-fast: false
matrix:
cask: ${{ fromJson(needs.create_matrix.outputs.json) }}
os: [ubuntu-22.04]
os: [macos-latest]
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand All @@ -78,7 +71,6 @@ jobs:

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

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

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

- name: Report fetch issues
Expand Down

0 comments on commit 18fc0c1

Please sign in to comment.