Skip to content

update actions stylelua version #19

update actions stylelua version

update actions stylelua version #19

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@v3
- name: Run StyLua
uses: JohnnyMorganz/stylua-action@1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: v0.18.2
args: --features lua51 --check .