Skip to content

Commit 73a721a

Browse files
committed
add linting to CI
1 parent 8b11fdc commit 73a721a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/lint.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Lint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
name: Luacheck
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v6
11+
- name: Setup
12+
run: |
13+
sudo apt-get update
14+
sudo apt-get install luarocks -y
15+
sudo luarocks install luacheck
16+
17+
- name: Lint
18+
run: luacheck lua/ --globals vim

0 commit comments

Comments
 (0)