16 lines
377 B
YAML
16 lines
377 B
YAML
image: python:3.8
|
|
|
|
pipelines:
|
|
pull-requests:
|
|
"**":
|
|
- step:
|
|
name: Lint code
|
|
caches:
|
|
- pip
|
|
script:
|
|
- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
- sudo apt install luarocks
|
|
- sudo apt install lua5.1
|
|
- luarocks install luacheck
|
|
- luacheck .
|