Skip to content

temp

temp #368

Workflow file for this run

name: Pull request check
on:
push:
# pull_request:
env:
NEOVIM_STABLE_VERSION: 0.9.2
LUA_LANGUAGE_SERVER_VERSION: 3.7.0
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
uses: ./.github/workflows/tests.yml
with:
matrix: |
[
{"rev": "nightly/nvim-linux64.tar.gz"},
{"rev": "v$NEOVIM_STABLE_VERSION/nvim-linux64.tar.gz"}
]
lua-language-server:
uses: ./.github/workflows/lua_language_server.yml
with:
matrix: |
[
{"type_version": "nightly", "rev": "nightly/nvim-linux64.tar.gz"},
{"type_version": "stable", "rev": "v$NEOVIM_STABLE_VERSION/nvim-linux64.tar.gz"}
]
stylua:
name: stylua
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --color always --check .
luacheck:
name: luacheck
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Prepare
run: |
sudo apt-get update
sudo apt-get install -y luarocks
sudo luarocks install luacheck
- name: Lint
run: sudo make luacheck
block-fixup:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Block Fixup Commit Merge
uses: 13rac1/[email protected]