From aaa0a80da247b49e2d9478f18eb456a9c06c844c Mon Sep 17 00:00:00 2001 From: Koichi Nakashima Date: Mon, 12 Aug 2024 11:23:58 +0900 Subject: [PATCH] Actions: Fixes macOS Homebrew workflow --- .github/workflows/macos-brew.yml | 2 +- Makefile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos-brew.yml b/.github/workflows/macos-brew.yml index 9ae6e73..07423f2 100644 --- a/.github/workflows/macos-brew.yml +++ b/.github/workflows/macos-brew.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: brew upgrade - - run: brew install dash bash ksh mksh yash zsh + - run: brew install --cask dash bash ksh93 mksh yash zsh - name: Install shellspec run: | echo "${HOME}/.local/bin" >> "$GITHUB_PATH" diff --git a/Makefile b/Makefile index 8e181fc..4aa5e5a 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,7 @@ test: .PHONY: test_in_various_shells test_in_various_shells: if type sh; then shellspec -s sh; fi + if type dash; then shellspec -s dash; fi if type bash; then shellspec -s bash; fi if type busybox; then shellspec -s 'busybox ash'; fi if type ksh; then shellspec -s ksh; fi