Remove all instances of E2 entity functions returning nil #1236
Workflow file for this run
This file contains hidden or 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: | |
| pull_request: | |
| paths: | |
| - "lua/**" | |
| workflow_dispatch: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@master | |
| - uses: wiremod/gh-actions-lua@master | |
| with: | |
| luaVersion: "luajit-2.1.0-beta3" | |
| - name: Get any changed files | |
| id: changed-files | |
| uses: tj-actions/changed-files@v46 | |
| with: | |
| files: | | |
| **.lua | |
| - name: Run E2 Extension Preprocessor | |
| run: | | |
| lua .github/workflows/preprocess.lua ${{ steps.changed-files.outputs.all_changed_files }} | |
| - name: Download GluaFixer | |
| run: | | |
| curl -o glualint.zip -L https://github.com/FPtje/GLuaFixer/releases/download/1.29.0/glualint-1.29.0-x86_64-linux.zip | |
| unzip glualint.zip | |
| - name: Lint Code | |
| run: | | |
| ./glualint ${{ steps.changed-files.outputs.all_changed_files }} |