fix: defer import of UltiSnips modules #132
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: Linting and style checking | |
on: [push, pull_request] | |
jobs: | |
Luacheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup tools | |
run: | | |
sudo apt install -y luarocks | |
sudo luarocks install luacheck | |
- name: Lint | |
run: make lint | |
Stylua: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: JohnnyMorganz/stylua-action@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --color always --check lua/ |