lint.yaml 645 B

123456789101112131415161718192021222324252627282930313233
  1. name: lint
  2. on:
  3. pull_request:
  4. branches:
  5. - "rolling"
  6. jobs:
  7. lua-linter:
  8. name: "Linting with luacheck"
  9. runs-on: ubuntu-20.04
  10. steps:
  11. - uses: actions/checkout@v2
  12. - uses: leafo/gh-actions-lua@v8
  13. - uses: leafo/gh-actions-luarocks@v4
  14. - name: Use luacheck
  15. run: luarocks install luacheck
  16. - name: Run luacheck
  17. run: make lint-lua
  18. shellcheck:
  19. name: Shellcheck
  20. runs-on: ubuntu-latest
  21. steps:
  22. - uses: actions/checkout@v2
  23. - name: Run ShellCheck
  24. uses: ludeeus/action-shellcheck@master
  25. with:
  26. scandir: "./utils"
  27. ignore: "bin"