ci: Use latest toolchain #3597
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: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: jcs090218/setup-emacs@master | |
| with: | |
| version: 30.2 | |
| - 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 |