Skip to content

feat: check indentation in CI #164

feat: check indentation in CI

feat: check indentation in CI #164

Workflow file for this run

name: Test with Emacs
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Install Emacs
run: sudo apt install -y emacs
- name: Install Just
uses: extractions/setup-just@v1
with:
just-version: 1.13
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: just test
- name: Check indentation
run: emacs --script scripts/indent-lisp-files.el
- name: Compare changes
run: git diff --exit-code