Skip to content

Update readme

Update readme #20

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
macos:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install tooling (shellcheck, shfmt, stylua, jq)
run: |
set -euo pipefail
export HOMEBREW_NO_AUTO_UPDATE=1
brew install shellcheck shfmt stylua jq
- name: Lint shell scripts
run: |
set -euo pipefail
lint_files=( install.sh )
if ls .config/sketchybar/scripts/*.sh >/dev/null 2>&1; then
lint_files+=( .config/sketchybar/scripts/*.sh )
fi
if [ -f scripts/apply_theme.sh ]; then
lint_files+=( scripts/apply_theme.sh )
fi
shellcheck -S error "${lint_files[@]}"
# Style check (no changes) for our shell scripts only
shfmt -d -s -ci "${lint_files[@]}"
- name: Validate JSON (Karabiner)
run: |
set -euo pipefail
if [ -f .config/karabiner/karabiner.json ]; then
jq -e . .config/karabiner/karabiner.json >/dev/null
fi
- name: Check Neovim Lua format (stylua)
run: |
set -euo pipefail
if [ -d .config/nvim ]; then
stylua --check .config/nvim
fi
- name: Installer dry-run
run: |
set -euo pipefail
chmod +x install.sh
./install.sh --dry-run
- name: Brewfile sanity check
run: |
set -euo pipefail
brew bundle check --file=Brewfile || true