chore: use luals for style check

This commit is contained in:
Alexander Courtis 2025-03-22 12:45:10 +11:00
parent df044f7b82
commit e5fde80fab

View File

@ -34,30 +34,30 @@ jobs:
- run: make lint - run: make lint
style: # style:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
concurrency: # concurrency:
group: ${{ github.workflow }}-${{ matrix.emmy_lua_code_style_version }}-${{ github.head_ref || github.ref_name }} # group: ${{ github.workflow }}-${{ matrix.emmy_lua_code_style_version }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true # cancel-in-progress: true
strategy: # strategy:
matrix: # matrix:
luals_version: [ 3.13.9 ] # luals_version: [ 3.13.9 ]
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
- name: install luals # - name: install luals
run: | # run: |
mkdir -p luals # mkdir -p luals
curl -L "https://github.com/LuaLS/lua-language-server/releases/download/${{ matrix.luals_version }}/lua-language-server-${{ matrix.luals_version }}-linux-x64.tar.gz" | tar zx --directory luals # curl -L "https://github.com/LuaLS/lua-language-server/releases/download/${{ matrix.luals_version }}/lua-language-server-${{ matrix.luals_version }}-linux-x64.tar.gz" | tar zx --directory luals
- run: echo "luals/bin" >> "$GITHUB_PATH" # - run: echo "luals/bin" >> "$GITHUB_PATH"
- run: make style # - run: make style
- run: make style-doc # - run: make style-doc
check: check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -92,3 +92,11 @@ jobs:
run: make check run: make check
- run: make help-check - run: make help-check
- name: make style
env:
VIMRUNTIME: /home/runner/nvim-${{ matrix.nvim_version }}/share/nvim/runtime
run: make style
- run: make style-doc