-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (40 loc) · 1.17 KB
/
test-linux.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
name: 🐧 Build (Linux)
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@a5ac7e51b41094c92402da3b24376905380afc29
- name: ☑️ ShellCheck
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38
with:
scandir: "./Scripts/install.sh"
build:
runs-on: ubuntu-latest
timeout-minutes: 30
needs: [shellcheck]
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- name: ⚙️ Prepare
run: |
sudo apt-get update
sudo apt-get install -y 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}