Skip to content

Consistent lua formatting and linting across pre-commit, neovim, and CI #158

Consistent lua formatting and linting across pre-commit, neovim, and CI

Consistent lua formatting and linting across pre-commit, neovim, and CI #158

Workflow file for this run

---
name: lint_and_format
on: # yamllint disable-line rule:truthy
push:
branches:
- main
pull_request:
branches:
- dev
- main
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
- name: Install luacheck
run: |
sudo apt-get update
sudo apt-get install luarocks
sudo luarocks install luacheck
- uses: pre-commit/action@v3.0.1