Replace builds.sr.ht with GitHub action

This commit is contained in:
Nguyễn Gia Phong 2024-11-11 13:43:17 +09:00 committed by McSinyx
parent 01d6bccb2d
commit 579ebf772c
2 changed files with 14 additions and 9 deletions

View File

@ -1,9 +0,0 @@
image: alpine/edge
packages:
- luacheck
sources:
- https://github.com/vicious-widgets/vicious
tasks:
- check: |
cd vicious
luacheck --config=tools/luacheckrc .

14
.github/workflows/luacheck.yml vendored Normal file
View File

@ -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 .