fix: ensure path is file before reading #187
Workflow file for this run
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: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
lint: | |
name: Luacheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup | |
run: | | |
sudo apt-get update | |
sudo apt-get install luarocks -y | |
sudo luarocks install luacheck | |
- name: Lint | |
run: luacheck lua/ --globals vim |