Skip to content

Merge pull request #27 from z-shell/dependabot/github_actions/actions… #60

Merge pull request #27 from z-shell/dependabot/github_actions/actions…

Merge pull request #27 from z-shell/dependabot/github_actions/actions… #60

Workflow file for this run

---
name: 🍎 Build (MacOS)
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
- name: ☑️ ShellCheck
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38
with:
scandir: "./Scripts/install.sh"
build:
runs-on: macos-latest
timeout-minutes: 30
needs: [shellcheck]
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
- name: ⚙️ Prepare
run: |
brew install zsh
- name: ⚙️ Build
run: sh ./Scripts/install.sh && ls -a $HOME/.zi/zmodules/zpmod/Src/zi
- name: ⚙️ Load
run: |
module_path+=( "$HOME/.zi/zmodules/zpmod/Src" )
zmodload zi/zpmod
zpmod source-study -l
shell: zsh {0}