-
Notifications
You must be signed in to change notification settings - Fork 81
43 lines (36 loc) · 853 Bytes
/
Copy pathinstall.yml
File metadata and controls
43 lines (36 loc) · 853 Bytes
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: install-script
"on":
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
shellcheck:
name: shellcheck
runs-on: ubuntu-latest
steps:
- name: Check out the codebase
uses: actions/checkout@v5
- name: Lint install scripts
run: shellcheck install.sh install-macos.sh
install:
name: "install.sh: ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
steps:
- name: Check out the codebase
uses: actions/checkout@v5
- name: Run install.sh
run: bash install.sh
- name: Verify zsh is installed and configured
run: |
command -v zsh
test -f "$HOME/.zshrc"
grep -qi antigen "$HOME/.zshrc"