Add Eldev support #2
This file contains 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: CI | |
on: | |
push: | |
paths-ignore: ['**.md', '**.adoc'] | |
pull_request: | |
paths-ignore: ['**.md', '**.adoc'] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
continue-on-error: ${{matrix.emacs_version == 'snapshot'}} | |
strategy: | |
matrix: | |
# Earliest supported + latest in each stable branch + snapshot. | |
emacs_version: ['25.1', '25.3', '26.3', '27.1', '28.1', 'snapshot'] | |
steps: | |
- name: Set up Emacs | |
uses: purcell/setup-emacs@master | |
with: | |
version: ${{matrix.emacs_version}} | |
- name: Install Eldev | |
run: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh | |
- name: Check out the source code | |
uses: actions/checkout@v2 | |
- name: Lint the project | |
run: | | |
eldev -dtT -C compile --warnings-as-errors |