diff --git a/.build.yml b/.build.yml deleted file mode 100644 index c58e847..0000000 --- a/.build.yml +++ /dev/null @@ -1,9 +0,0 @@ -image: alpine/edge -packages: - - luacheck -sources: - - https://github.com/vicious-widgets/vicious -tasks: - - check: | - cd vicious - luacheck --config=tools/luacheckrc . diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml new file mode 100644 index 0000000..9da70a5 --- /dev/null +++ b/.github/workflows/luacheck.yml @@ -0,0 +1,14 @@ +name: luacheck +on: + - pull_request + - push +jobs: + luacheck: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4 + - name: lint + uses: lunarmodules/luacheck@v1 + with: + args: --config=tools/luacheckrc .