fix(fennel-ls): use closest cfg as root directory and fallback to git repo root #4680
Workflow file for this run
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: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Run luacheck | |
| uses: lunarmodules/luacheck@v1 | |
| with: | |
| args: lua/* test/* | |
| - name: Run selene | |
| uses: NTBBloodbath/[email protected] | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| args: --display-style=quiet . | |
| style-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Lint with stylua | |
| uses: JohnnyMorganz/stylua-action@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| version: latest | |
| args: --check . |