Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-reineke committed Oct 2, 2023
1 parent 4c8d049 commit cdd55d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lua_language_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/cache@v3
with:
path: _neovim
key: ${{ matrix.rev }}-${{ hashFiles('todays-date') }}
key: ${{ matrix.rev == 'stable' && env.NEOVIM_STABLE_VERSION || matrix.rev }}-${{ hashFiles('todays-date') }}
- name: Restore vendor dependencies
uses: actions/cache@v3
with:
Expand All @@ -32,16 +32,16 @@ jobs:
uses: actions/cache@v3
with:
path: _lua-ls
key: 3.7.0
key: $LUA_LANGUAGE_SERVER_VERSION
- name: Prepare
run: |
test -d _neovim || {
mkdir -p _neovim
curl -sL "https://github.com/neovim/neovim/releases/download/${{ matrix.rev }}/nvim-linux64.tar.gz" | tar xzf - --strip-components=1 -C "${PWD}/_neovim"
curl -sL "https://github.com/neovim/neovim/releases/download/${{ matrix.rev == 'stable' && env.NEOVIM_STABLE_VERSION || matrix.rev }}/nvim-linux64.tar.gz" | tar xzf - --strip-components=1 -C "${PWD}/_neovim"
}
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"
curl -sL "https://github.com/LuaLS/lua-language-server/releases/download/${{ env.LUA_LANGUAGE_SERVER_VERSION }}/lua-language-server-${{ env.LUA_LANGUAGE_SERVER_VERSION }}-linux-x64.tar.gz" | tar xzf - -C "${PWD}/_lua-ls"
}
- name: Run check
Expand Down

0 comments on commit cdd55d9

Please sign in to comment.