Merge pull request #86 from CFC-Servers/fix/fix-netspam-exploit #90
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: Lint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download GLuaLint | |
run: curl -o glualint.zip -L https://github.com/FPtje/GLuaFixer/releases/download/$GLUALINT_VERSION/glualint-$GLUALINT_VERSION-x86_64-linux.zip | |
env: | |
GLUALINT_VERSION: 1.24.4 | |
- name: Unzip GLuaLint | |
run: unzip glualint.zip | |
- name: Lint lua files | |
run: ./glualint lint lua |