We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8292591 commit 740544aCopy full SHA for 740544a
1 file changed
.github/workflows/ci.yml
@@ -42,10 +42,16 @@ jobs:
42
sudo luarocks install luacheck
43
44
# Install stylua for formatting
45
+ curl -sSf https://sh.rustup.rs | sh -s -- -y
46
+ source $HOME/.cargo/env
47
cargo install stylua
48
- - name: Lint Lua code
49
+ - name: Format and Lint Lua code
50
run: |
51
+ # Format code first
52
+ stylua lua/
53
+
54
+ # Then run checks
55
luacheck lua/ --globals vim --no-color
56
stylua --check lua/
57
0 commit comments