2
0

build.yml 388 B

12345678910111213141516
  1. name: build
  2. on: [push, pull_request]
  3. jobs:
  4. luacheck:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v2
  8. - name: Install Luarocks
  9. run: |
  10. sudo apt-get update -qyy
  11. sudo apt-get install luarocks -qyy
  12. - name: Install Luacheck
  13. run: luarocks install --local luacheck
  14. - name: Run Luacheck
  15. run: $HOME/.luarocks/bin/luacheck mods