Skip to content

Merge pull request #402 from simon123h/master #695

Merge pull request #402 from simon123h/master

Merge pull request #402 from simon123h/master #695

Workflow file for this run

name: Run All Checks
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
check-lua:
name: Run Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup 'lua'
uses: leafo/gh-actions-lua@v8
with:
luaVersion: "5.1.5"
- name: Run Stylua
uses: JohnnyMorganz/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --check lua/ tests/
version: 0.15.2
- name: Run Luacheck
uses: lunarmodules/luacheck@v1
with:
args: lua/legendary/ tests/
- name: Install Neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: nightly
- name: Checkout Plenary
uses: actions/checkout@v3
with:
repository: nvim-lua/plenary.nvim
path: vendor/plenary.nvim
- name: Checkout Luassert
uses: actions/checkout@v3
with:
repository: Olivine-Labs/luassert
path: vendor/luassert
- name: Run Unit Tests
run: make test