Skip to content

Commit a9fae9c

Browse files
github-ci: install all dependencies in the Eldev "prepare" step (#718)
Make sure the Github CI workflow installs all needed dependencies in the separate "prepare" step, before the subsequent compile/test/lint steps. This was already the case for the declared package dependencies, but not for the additional build/test/lint dependences (auctex and embark) listed in the Eldev file. Otherwise, when Eldev installs packages, it seems to delay adding already-installed packages to the Emacs load path. Org mode does not like this; the built-in version of Org gets loaded before the updated version from GNU ELPA, causing "Org version mismatch" errors. Also update Eldev according to the suggestions of "eldev doctor"; make the Eldev file byte-compilable, use melpa instead of melpa-unstable, and use gnu-elpa instead of just gnu.
1 parent 6df14e3 commit a9fae9c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
uses: actions/checkout@v2
4444
- name: Install dependencies
4545
run: |
46-
eldev --color --trace prepare
46+
eldev --color --trace prepare build
4747
- name: Byte-compile
4848
if: ${{ matrix.action == 'compile' }}
4949
run: |

Eldev

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
; -*- mode: emacs-lisp; lexical-binding: t; no-byte-compile: t -*-
1+
; -*- mode: emacs-lisp; lexical-binding: t -*-
22
;; this and related files adapted from org-roam
33
;; explicitly set main file
44
(setf eldev-project-main-file "citar.el")
55

6-
(eldev-use-package-archive 'gnu)
7-
(eldev-use-package-archive 'melpa-unstable)
6+
(eldev-use-package-archive 'gnu-elpa)
7+
(eldev-use-package-archive 'melpa)
88

99
(eldev-use-plugin 'autoloads)
1010

0 commit comments

Comments
 (0)