Replace Travis CI with GitHub actions

This commit is contained in:
Panquesito7 2020-04-26 14:24:43 -05:00
parent e8097c9e87
commit 5ddad1d208
No known key found for this signature in database
GPG key ID: 3C482B03FD220E68
2 changed files with 16 additions and 11 deletions

16
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,16 @@
name: build
on: [push, pull_request]
jobs:
luacheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Luarocks
run: |
sudo apt-get update -qyy
sudo apt-get install luarocks -qyy
- name: Install Luacheck
run: luarocks install --local luacheck
- name: Run Luacheck
run: $HOME/.luarocks/bin/luacheck mods

View file

@ -1,11 +0,0 @@
language: generic
addons:
apt:
packages:
- luarocks
before_install:
- luarocks install --local luacheck
script:
- $HOME/.luarocks/bin/luacheck ./mods
notifications:
email: false