Skip to content

Commit 8ccb47b

Browse files
committed
ci: drop brew install of powershell on macOS
The 'powershell' Homebrew cask no longer exists and the 'powershell/tap' formula uses a disabled macOS version constraint. GitHub macOS runners come with PowerShell 7 pre-installed, and trunk's pwsh tool plugin handles on-demand installation otherwise, so the brew install is redundant.
1 parent 068d6b4 commit 8ccb47b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/actions/linter_tests/action.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ runs:
7373
sudo apt install -y php8.2-fpm php8.2-xml php8.2-mbstring php8.2-curl
7474
;;
7575
macOS)
76-
brew install --cask powershell
76+
# PowerShell is pre-installed on GitHub macOS runners; trunk's pwsh
77+
# tool plugin will fetch it on-demand otherwise.
7778
brew install cpanminus
7879
cpanm YAML::PP Class::Tiny Perl::Critic
7980
brew unlink perl && brew link perl

0 commit comments

Comments
 (0)