Skip to content

Look for clangd-{15,16,17}, too. (#4136) #2173

Look for clangd-{15,16,17}, too. (#4136)

Look for clangd-{15,16,17}, too. (#4136) #2173

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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^ cask 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