Fix CargoReload
sending RPC requests to unrelated LSP clients
#3805
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: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- 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@v3 | |
- name: Lint with stylua | |
uses: JohnnyMorganz/stylua-action@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: latest | |
args: --check . |