Skip to content

Commit

Permalink
fixup! TEMP
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-reineke committed Aug 29, 2023
1 parent 378cc80 commit 652e3c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ jobs:
with:
path: _neovim
key: ${{ runner.os }}-${{ matrix.rev }}-${{ hashFiles('todays-date') }}
# - name: Restore cache for lua LS
# uses: actions/cache@v3
# with:
# path: _lua-ls
# key: ${{ runner.os }}-${{ matrix.rev }}-${{ hashFiles('todays-date') }}
- name: Restore cache for lua LS
uses: actions/cache@v3
with:
path: _lua-ls
key: ${{ runner.os }}-${{ matrix.rev }}-${{ hashFiles('todays-date') }}
- name: Prepare
run: |
test -d _neovim || {
Expand All @@ -77,10 +77,6 @@ jobs:
test -d _lua-ls || {
mkdir -p _lua-ls
curl -sL "https://github.com/LuaLS/lua-language-server/releases/download/3.7.0/lua-language-server-3.7.0-linux-x64.tar.gz" | tar xzf - -C "${PWD}/_lua-ls"
# sudo apt-get update
# sudo apt-get install -y ninja-build
# git clone --depth 1 https://github.com/LuaLS/lua-language-server _lua-ls
# cd _lua-ls && ./make.sh
}
- name: Run check
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ lint:
luacheck .

lua-language-server:
rm -rf lua-language-server-log
lua-language-server --configpath .ci.$(version).luarc.json --logpath lua-language-server-log --check .
[ -f lua-language-server-log/check.json ] && { cat lua-language-server-log/check.json 2>/dev/null; exit 1; } || true

Expand Down

0 comments on commit 652e3c3

Please sign in to comment.