Skip to content

Commit 740544a

Browse files
committed
fix(ci): ci configuration -v10
1 parent 8292591 commit 740544a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,16 @@ jobs:
4242
sudo luarocks install luacheck
4343
4444
# Install stylua for formatting
45+
curl -sSf https://sh.rustup.rs | sh -s -- -y
46+
source $HOME/.cargo/env
4547
cargo install stylua
4648
47-
- name: Lint Lua code
49+
- name: Format and Lint Lua code
4850
run: |
51+
# Format code first
52+
stylua lua/
53+
54+
# Then run checks
4955
luacheck lua/ --globals vim --no-color
5056
stylua --check lua/
5157

0 commit comments

Comments
 (0)