Improve knockback code, with better control where units are pushed #1404
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: luacheck | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
# Check Lua files with "luacheck" tool (Lua static analyzer). | |
luacheck: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: sudo apt-get install -y luarocks && sudo luarocks install luacheck | |
- name: RUN -- luacheck . | |
run: luacheck --no-color . | |