Files
dotfiles/.github/workflows/check.yml
T
gitea-adminandClaude Fable 5.1 215c5cea44
check / validate (push) Canceled after 0s
refactor: trim configuration and drop unused plugins
- Merge sunbather dark/light into one background-aware color scheme
- Fold uninstall.sh into install.sh as a subcommand; drop clone logic
- Inline bash_tools/ helpers; remove fct and odict
- Remove TPM, tmux-sensible, and tmux-fuzzback; tmux has no plugins now
- Remove vim-repeat, vim-fugitive, vim-gitgutter, vim-tmux-navigator,
  and moonfly; everforest is the default dark theme
- Fetch vim-plug via git instead of curl; require git, not curl
- Guard termguicolors on Windows consoles without VT support and set
  nomore before the vimrc loads so headless installs cannot hang
- Fall back to sunbather when a color scheme fails to load, without
  overwriting the saved preference
- Append config/vim to runtimepath so netrw stops writing into the repo
- Fix .editorconfig Python indent; trim .gitignore; update CI and README

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NBfsAH6iJg9inkNLKq11YC
2026-09-14 01:06:39 +00:00

41 lines
1019 B
YAML

name: check
on:
push:
pull_request:
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install validation tools
run: sudo apt-get update && sudo apt-get install -y shellcheck tmux vim-nox
- name: Check shell scripts
run: |
bash -n install.sh bash_tools.sh
shellcheck install.sh bash_tools.sh
- name: Check Python
run: python3 -m compileall -q win-install.py
- name: Check Vim startup
run: vim -Nu "$PWD/.vimrc" -n -es -c 'doautocmd VimEnter' -c 'qa!'
- name: Check tmux configuration
run: |
tmux -L dotfiles-check -f "$PWD/.tmux.conf" new-session -d
tmux -L dotfiles-check kill-server
- name: Reject empty tracked files
shell: bash
run: |
while IFS= read -r -d '' file; do
[[ -s "$file" ]] || { echo "Empty tracked file: $file"; exit 1; }
done < <(git ls-files -z)