Skip to content

Commit

Permalink
Add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
mogenson committed Jan 7, 2024
1 parent adbe6cc commit 708d2b6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Lint Code Base
on:
pull_request: ~
push:
branches:
- main

jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Lint Code Base
uses: mrcjkb/[email protected]
with:
configpath: ".luarc.json"
directories: "."
8 changes: 8 additions & 0 deletions .luarc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"diagnostics":
{
"globals": [],
"neededFileStatus": { "codestyle-check": "Any" },
},
"runtime.version": "Lua 5.1",
}

0 comments on commit 708d2b6

Please sign in to comment.