ci: add Makefile
This commit is contained in:
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user