-
-
Notifications
You must be signed in to change notification settings - Fork 14
28 lines (25 loc) · 771 Bytes
/
macos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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