Skip to content

Merge pull request #19 from ko1nksm/dependabot/github_actions/actions… #98

Merge pull request #19 from ko1nksm/dependabot/github_actions/actions…

Merge pull request #19 from ko1nksm/dependabot/github_actions/actions… #98

Workflow file for this run

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