From 0e041bd343ac8cf62c4c524af0fddf4cb49b643d Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Thu, 9 Jul 2020 22:22:23 +0200 Subject: ci: use GH Actions istead of Travis CI --- .github/workflows/lint.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/lint.yml (limited to '.github/workflows') diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..41ee7727 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,20 @@ +name: Linting and style checking + +on: [push, pull_request] + +jobs: + luacheck: + name: Luacheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + + - name: Prepare + run: | + sudo apt-get update + sudo add-apt-repository universe + sudo apt install luarocks -y + sudo luarocks install luacheck + + - name: Run Luacheck + run: ./scripts/style-check.sh -- cgit v1.2.3