Skip to content

(refactor) formatlogjson #266

(refactor) formatlogjson

(refactor) formatlogjson #266

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
# Install LuaRocks
sudo apt-get update
sudo apt-get install -y luarocks
# Install luacheck using LuaRocks
sudo luarocks install luacheck
- name: Lint code
run: |
# Run linting command and store the exit code
luacheck . --globals vim || exit 0