From 05bb85bef0b743a8c8998e8f36afa425e9944d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Mon, 11 Nov 2024 13:43:17 +0900 Subject: [PATCH] Replace builds.sr.ht with GitHub action --- .build.yml | 9 --------- .github/workflows/luacheck.yml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 9 deletions(-) delete mode 100644 .build.yml create mode 100644 .github/workflows/luacheck.yml 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 .