Merge pull request #1265 from w3lld1/issue/1241 #6
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: | |
| push: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| lua: | |
| name: Lua | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Dependencies | |
| run: sudo apt-get -y update && sudo apt-get -y install lua-check | |
| - name: Lint Lua code | |
| run: ./tools/ci/lint/lua.sh | |
| sh: | |
| name: Shell | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Dependencies | |
| run: sudo apt-get -y update && sudo apt-get -y install shellcheck | |
| - name: Lint shell code | |
| run: ./tools/ci/lint/sh.sh |