Merge pull request #6 from wookayin/error-handling #88
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: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install lua-language-server | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
cd | |
gh release download -R sumneko/lua-language-server -p '*-linux-x64.tar.gz' -D lua-language-server | |
tar xzf lua-language-server/* -C lua-language-server | |
echo "${PWD}/lua-language-server/bin" >> $GITHUB_PATH | |
export PATH="${PWD}/lua-language-server/bin:${PATH}" | |
lua-language-server --version | |
- name: Run Lint | |
run: make lint |