14 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
15 cancel-in-progress: true
18 contents: read # to fetch code (actions/checkout)
23 runs-on: ${{ matrix.os }}
24 if: github.repository == 'ohmyzsh/ohmyzsh'
27 os: [ubuntu-latest, macos-latest]
29 - name: Set up git repository
30 uses: actions/checkout@v2
32 if: runner.os == 'Linux'
33 run: sudo apt-get update; sudo apt-get install zsh
34 - name: Test installer
35 run: sh ./tools/install.sh
38 for file in ./oh-my-zsh.sh \
40 ./plugins/*/*.plugin.zsh \
42 ./themes/*.zsh-theme; do
43 zsh -n "$file" || return 1