- doctor: pre-flight diagnostic (sudo, recovery, disk, libs, third-party FW) - update: self-update from GitHub latest release - uninstall: remove all Unleash traces (daemons, pf, hosts, backups, config) - config: persistent settings file (~/.unleash.conf) with show/set/unset - report: full markdown system status report - MA detect: scan for Migration Assistant MDM artifacts per user - spinner: visual progress indicator for long operations - reinstall: uninstall + persist + whitelist + monitor-install - Third-party firewall detection (Little Snitch, LuLu, Radio Silence, Vallum) - Load config on startup (WEBHOOK, LOG_LEVEL, LOG_FILE) - Bump 1.3.0 -> 1.4.0
64 lines
1.4 KiB
YAML
64 lines
1.4 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
shellcheck:
|
|
name: ShellCheck
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Run ShellCheck
|
|
uses: ludeeus/action-shellcheck@master
|
|
with:
|
|
severity: warning
|
|
additional_files: >
|
|
unleash
|
|
lib/colors.sh
|
|
lib/detect.sh
|
|
lib/validate.sh
|
|
lib/dscl.sh
|
|
lib/suppress.sh
|
|
lib/backup.sh
|
|
lib/status.sh
|
|
lib/heal.sh
|
|
lib/firewall.sh
|
|
lib/harden.sh
|
|
lib/whitelist.sh
|
|
lib/check.sh
|
|
lib/monitor.sh
|
|
lib/history.sh
|
|
lib/doctor.sh
|
|
lib/selfupdate.sh
|
|
lib/uninstall.sh
|
|
lib/config.sh
|
|
lib/report.sh
|
|
lib/ma_detect.sh
|
|
|
|
syntax:
|
|
name: Bash Syntax Check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Check syntax
|
|
run: |
|
|
for f in unleash lib/*.sh examples/*.sh; do
|
|
[ -f "$f" ] || continue
|
|
echo "Checking: $f"
|
|
bash -n "$f" || exit 1
|
|
done
|
|
echo "All files pass syntax check"
|
|
|
|
markdown:
|
|
name: Markdown Lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: DavidAnson/markdownlint-cli2-action@v16
|
|
with:
|
|
globs: '*.md'
|