Skip to content

Commit eff25f0

Browse files
committed
Added linting to workflow
1 parent 95bf242 commit eff25f0

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,17 @@ jobs:
1919
- v0.10.0
2020
include:
2121
- os: ubuntu-latest
22-
install-rg: sudo apt-get update && sudo apt-get install -y ripgrep luarocks
22+
install-deps: |
23+
sudo apt-get update && sudo apt-get install -y ripgrep luarocks
24+
sudo luarocks install luacheck
2325
- os: macos-latest
24-
install-rg: brew update && brew install ripgrep luarocks
26+
install-deps: |
27+
brew update && brew install ripgrep luarocks
28+
sudo luarocks install luacheck
2529
- os: windows-latest
26-
install-rg: choco install ripgrep luarocks
30+
install-deps: |
31+
choco install ripgrep luarocks
32+
luarocks install luacheck
2733
steps:
2834
- uses: actions/checkout@v4
2935
- uses: rhysd/action-setup-vim@v1
@@ -32,10 +38,10 @@ jobs:
3238
version: ${{ matrix.rev }}
3339
- name: Prepare
3440
run: |
35-
${{ matrix.install-rg }}
41+
${{ matrix.install-deps }}
3642
rg --version
43+
luarocks --version
3744
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ../plenary.nvim
38-
sudo luarocks install luacheck
3945
- name: Run tests
4046
run: |
4147
nvim --version

0 commit comments

Comments
 (0)