From 20d59effd6a1c3f6268284a6735c562dfe428821 Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Tue, 8 Jun 2021 13:09:27 +0100 Subject: [PATCH] brew tap-new: tests.yml workflow fails with casks Running `brew test-bot --only-tap-syntax` fails on `ubuntu-latest` if any casks are added later to the tap, since casks are macOS only. --- Library/Homebrew/dev-cmd/tap-new.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/dev-cmd/tap-new.rb b/Library/Homebrew/dev-cmd/tap-new.rb index d85663aeb6..f240f856fe 100644 --- a/Library/Homebrew/dev-cmd/tap-new.rb +++ b/Library/Homebrew/dev-cmd/tap-new.rb @@ -95,6 +95,7 @@ module Homebrew - run: brew test-bot --only-setup - run: brew test-bot --only-tap-syntax + if: matrix.os == 'macos-latest' - run: brew test-bot --only-formulae if: github.event_name == 'pull_request'