fix: replace the statusbar #92
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: "lua: linting and style checking" | |
| on: [push, pull_request] | |
| jobs: | |
| luacheck: | |
| name: luacheck on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macOS-latest] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Prepare | |
| if: matrix.os == 'ubuntu-latest' | |
| run: | | |
| sudo apt-get update | |
| sudo add-apt-repository universe | |
| sudo apt install luarocks -y | |
| sudo luarocks install luacheck | |
| - name: Prepare | |
| if: matrix.os == 'macOS-latest' | |
| run: | | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| brew install lua@5.4 luarocks | |
| export PATH="$(brew --prefix lua@5.4)/bin:$PATH" | |
| luarocks --lua-version=5.4 install luacheck | |
| - name: Run luacheck | |
| run: luacheck init.lua lua |