ci: add Makefile

This commit is contained in:
Alexander Courtis
2023-12-31 16:46:53 +11:00
parent d353323ff5
commit 4198691711

View File

@@ -12,9 +12,10 @@ permissions:
contents: read
env:
NVIM_VERSION: v0.9.4
STYLUA_VERSION: 0.19
LUALS_VERSION: 3.7.3
LUA_VERSION: "5.1"
NVIM_VERSION: "v0.9.4"
STYLUA_VERSION: "0.19"
LUALS_VERSION: "3.7.3"
jobs:
lint:
@@ -24,7 +25,7 @@ jobs:
- uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.1"
luaVersion: ${{ env.LUA_VERSION }}
- uses: leafo/gh-actions-luarocks@v4
@@ -63,4 +64,4 @@ jobs:
- name: lua-language-server --check
run: |
VIMRUNTIME=/home/runner/${NVIM_VERSION}/share/nvim/runtime PATH="luals/bin:${PATH}" make check
VIMRUNTIME=/home/runner/nvim-${NVIM_VERSION}/share/nvim/runtime PATH="luals/bin:${PATH}" make check