Skip to content

Merge pull request #4 from caenrique/main #16

Merge pull request #4 from caenrique/main

Merge pull request #4 from caenrique/main #16

Workflow file for this run

name: scaladex.nvim lint
on:
push:
branches:
- main
pull_request:
paths-ignore:
- '**.txt'
- '**.md'
jobs:
lint-check:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Setup luacheck
run: |
sudo apt update &&
sudo apt install -y lua5.1 luarocks &&
sudo luarocks install luacheck
- name: Run luacheck
run: |
luacheck .
format-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run StyLua
uses: JohnnyMorganz/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --check .