Merge pull request #100 from KemGus/smoke-changes #156
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: GLuaFixer | |
on: | |
push: | |
paths: | |
- 'lua/**' | |
- '!lua/entities/gmod_wire_expression2/**' | |
pull_request: | |
paths: | |
- 'lua/**' | |
- '!lua/entities/gmod_wire_expression2/**' | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download GLuaFixer 1.24.0 | |
run: curl -o glualint.zip -L https://github.com/FPtje/GLuaFixer/releases/download/1.24.0/glualint-1.24.0-x86_64-linux.zip | |
- name: Extract glualint.zip | |
run: unzip glualint.zip | |
- name: Remove blacklisted folders | |
run: rm -r lua/entities/gmod_wire_expression2/ | |
- name: Initiate linting | |
run: ./glualint --output-format github lint . |