From 92701885d086e5123c2c8cca0774e9d9e2327558 Mon Sep 17 00:00:00 2001 From: David Leal Date: Thu, 8 Jul 2021 05:47:37 -0500 Subject: [PATCH] Replace Travis CI with GitHub actions (#2661) Co-authored-by: sfan5 --- .github/workflows/build.yml | 16 ++++++++++++++++ .travis.yml | 11 ----------- 2 files changed, 16 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/build.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..fea960c1 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a367215f..00000000 --- a/.travis.yml +++ /dev/null @@ -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