branch: externals/el-job
commit d5018725239970fee52bcf2bdff825b84794603f
Author: Martin Edström <meedstro...@gmail.com>
Commit: Martin Edström <meedstro...@gmail.com>

    Lint
---
 .dir-locals.el             | 16 +++++++++++++++-
 .github/workflows/test.yml | 16 ++++++++++------
 2 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/.dir-locals.el b/.dir-locals.el
index 53e215e228..edcc9ba211 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1 +1,15 @@
-((emacs-lisp-mode . ((emacs-lisp-docstring-fill-column . 72)))) ;; Emacs 31
+(;; Emacs 31 new default
+ (emacs-lisp-mode . ((emacs-lisp-docstring-fill-column . 72)))
+ ;; See makem.sh
+ (ispell-buffer-session-localwords . '("eln"
+                                       "elc"
+                                       "el"
+                                       "deregister"
+                                       "rebalance"
+                                       "accessors"
+                                       "eieio"
+                                       "prepended"
+                                       "elisp"
+                                       "subprocess"
+                                       "subprocesses"
+                                       "minibuffer")))
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 68fd626edb..039edaad8a 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -30,9 +30,9 @@ name: "CI"
 on:
   pull_request:
   push:
-    # Comment out this section to enable testing of all branches.
     branches:
       - main
+      - dev
 
 jobs:
   build:
@@ -51,9 +51,9 @@ jobs:
 
     - uses: actions/checkout@v2
 
-    # - name: Install Ispell
-    #   run: |
-    #     sudo apt-get install ispell
+    - name: Install Ispell
+      run: |
+        sudo apt-get install ispell
 
     - name: Initialize sandbox
       run: |
@@ -61,10 +61,14 @@ jobs:
         echo "SANDBOX_DIR=$SANDBOX_DIR" >> $GITHUB_ENV
         ./makem.sh -vv --sandbox=$SANDBOX_DIR --install-deps --install-linters
 
-    # No checkdoc because I don't want to add ispell word exceptions
     - name: Lint (sans checkdoc)
       # continue-on-error: true
-      run: ./makem.sh -vv --sandbox=$SANDBOX_DIR \
+      # run: ./makem.sh -vv --sandbox=$SANDBOX_DIR lint
+
+      # All default linters except checkdoc,
+      # because I don't want to add ispell word exceptions
+      run: >
+        ./makem.sh -vv --sandbox=$SANDBOX_DIR \
            lint-compile \
            lint-declare \
            lint-indent \

Reply via email to