lsp-sqls: Add lsp-sql-show-tables
command (#4534)
#2884
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: | |
- master | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: purcell/setup-emacs@master | |
with: | |
version: 27.1 | |
- uses: emacs-eask/setup-eask@master | |
with: | |
version: 'snapshot' | |
- name: Resolve dependency | |
run: eask install-deps --dev | |
- name: Run Indentation Lint | |
run: | | |
git diff-tree --no-commit-id --name-only -r ${{ github.sha }} \ | |
| grep \.el | grep -v \.dir-locals\.el \ | |
| xargs -t -I^ eask emacs -q --batch ^ --eval "\ | |
(let ((require-final-newline t)) \ | |
(require 'flycheck) \ | |
(eval-buffer) \ | |
(untabify (point-min) (point-max)) \ | |
(indent-region (point-min) (point-max)) \ | |
(save-buffer))" \ | |
; git diff --exit-code |