-
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (23 loc) · 730 Bytes
/
ci.yml
File metadata and controls
27 lines (23 loc) · 730 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
name: CI
on:
push: { branches: [ main ] }
pull_request: { branches: [ main ] }
jobs:
lint-and-smoke:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Shellcheck install scripts
run: |
sudo apt-get update
sudo apt-get install -y shellcheck
shellcheck install.sh uninstall.sh
- name: Luacheck config.vim (via selene-lua/luacheck portable)
run: |
sudo apt-get install -y luarocks
sudo luarocks install luacheck
luacheck --no-color --filename config.vim || true
- name: Headless start (Neovim)
run: |
sudo apt-get install -y neovim
nvim --headless -u ./config.vim -c 'q'