Skip to content

test

test #375

Workflow file for this run

name: Pull request check
on:
push:
# pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
uses: ./.github/workflows/tests.yml
with:
matrix: |
[ "nightly", "stable" ]
lua-language-server:
uses: ./.github/workflows/lua_language_server.yml
with:
matrix: |
[ "nightly", "v0.9.2" ]
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]