Skip to content

Merge pull request #453 from mrjones2014/automation/update-flake-depe… #755

Merge pull request #453 from mrjones2014/automation/update-flake-depe…

Merge pull request #453 from mrjones2014/automation/update-flake-depe… #755

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/stylua-action@v1.1.2
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