chore(git): removed old .dependencies folder #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: llscheck | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
llscheck: | |
runs-on: ubuntu-latest | |
name: llscheck | |
steps: | |
- uses: actions/checkout@master | |
- uses: rhysd/action-setup-vim@v1 | |
# NOTE: We need Neovim installed in order to expose the $VIMRUNTIME | |
# environment variable | |
with: | |
neovim: true | |
version: stable | |
- uses: leafo/gh-actions-lua@v10 | |
with: | |
# Neovim is compiled with LuaJIT so we might as well match. But it | |
# doesn't look like we can match it exactly. | |
# | |
# Reference: | |
# https://github.com/leafo/gh-actions-lua/issues/49#issuecomment-2295071198 | |
# | |
luaVersion: "luajit-openresty" | |
- name: Install lua-language-server | |
uses: jdx/mise-action@v2 | |
with: | |
tool_versions: | | |
lua-language-server latest | |
- uses: leafo/gh-actions-luarocks@v4 | |
- name: Install llscheck | |
run: | | |
luarocks install llscheck | |
luarocks install nlua | |
- name: Clone dependencies - busted | |
uses: actions/checkout@v4 | |
with: | |
repository: "LuaCATS/busted" | |
path: ".dependencies/busted" | |
- name: Clone dependencies - luassert | |
uses: actions/checkout@v4 | |
with: | |
repository: "LuaCATS/luassert" | |
path: ".dependencies/luassert" | |
- name: Clone dependencies - luavit-meta | |
uses: actions/checkout@v4 | |
with: | |
repository: "Bilal2453/luvit-meta" | |
path: ".dependencies/luvit-meta" | |
- name: test | |
run: | | |
VIMRUNTIME=`nlua -e 'io.write(os.getenv("VIMRUNTIME"))'` llscheck --configpath .github/workflows/.luarc.json . |