feat: add server configuration for autohotkey_lsp (init) #4847
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: | |
luacheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: lunarmodules/luacheck@v1 | |
with: | |
args: lua/* test/* | |
selene: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: NTBBloodbath/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --display-style=quiet . | |
stylua: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: JohnnyMorganz/stylua-action@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: latest | |
args: --check . | |
codespell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pip install codespell | |
- run: codespell --quiet-level=2 --check-hidden --skip=./doc/configs.md,./doc/configs.txt --ignore-words=.codespellignorewords | |
commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: npm install --save-dev @commitlint/{cli,config-conventional} | |
- run: | | |
echo "module.exports = { extends: ['@commitlint/config-conventional'] };" > commitlint.config.js | |
- run: npx commitlint --from HEAD~1 --to HEAD --verbose |