dotfiles/.github/workflows/validate.yml

30 lines
722 B
YAML

name: Validate
on:
push:
pull_request:
jobs:
dotfiles:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Install validation tools
run: |
sudo apt-get update
sudo apt-get install --yes gnupg shellcheck shfmt zsh
source install/lib/common.sh
source install/lib/packages.sh
install_wezterm
brew install neovim starship stylua
- name: Restore Neovim plugins
env:
DOTFILES_CI: "1"
XDG_CONFIG_HOME: ${{ github.workspace }}/.config
run: nvim --headless "+Lazy! restore" +qa
- name: Validate
run: bin/check-dotfiles