Update getopts #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macOS | |
on: [push, pull_request] | |
env: | |
FORCE_COLOR: 1 | |
jobs: | |
macos: | |
runs-on: macos-latest | |
if: "!contains(github.event.head_commit.message, 'ci skip')" | |
steps: | |
- uses: actions/checkout@v4 | |
- run: brew upgrade | |
- run: brew install bash ksh93 mksh yash zsh gawk mawk shellcheck | |
- name: Install shellspec | |
run: | | |
echo "${HOME}/.local/bin" >> "$GITHUB_PATH" | |
curl -fsSL https://git.io/shellspec | sh -s master -y | |
- run: shellspec -s sh | |
- run: shellspec -s dash | |
- run: shellspec -s bash | |
- run: shellspec -s ksh | |
- run: shellspec -s mksh | |
- run: shellspec -s yash | |
- run: shellspec -s zsh | |
- run: shellspec -s sh -e AWK=gawk | |
- run: shellspec -s sh -e AWK=mawk |