update actions stylelua version #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . | |