Skip to content

Merge pull request #12 from yriveiro/markdown-lint #1

Merge pull request #12 from yriveiro/markdown-lint

Merge pull request #12 from yriveiro/markdown-lint #1

Workflow file for this run

# Cherry picked from https://github.com/nvim-telescope/telescope.nvim/blob/master/.github/workflows/lint.yml
name: Linting and style checking
on: [push, pull_request]
jobs:
luacheck:
name: Luacheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Prepare
run: |
sudo apt-get update
sudo apt-get install -y luarocks
sudo luarocks install luacheck
- name: Lint
run: sudo make lint
stylua:
name: stylua
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
# CLI arguments
args: --color always --check lua/