Skip to content

Fix linter warning

Fix linter warning #98

Workflow file for this run

name: Run Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{matrix.version == 'snapshot'}}
strategy:
matrix:
version:
- '29.1'
- '28.2'
# Tests on 28.1 fails for some reason.
# - '28.1'
- '27.2'
- '27.1'
- '26.3'
- '26.2'
- '26.1'
- '25.3'
- '25.2'
- '25.1'
- '24.5'
- '24.4'
- 'snapshot'
env:
ELDEV_DIR: .eldev
ELDEV: .eldev/bin/eldev
steps:
- uses: actions/checkout@v4
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.version }}
- name: Install Eldev
run: |
mkdir -p $ELDEV_DIR/bin
curl -fsSL https://raw.github.com/doublep/eldev/master/bin/eldev > $ELDEV_DIR/bin/eldev
chmod a+x $ELDEV_DIR/bin/eldev
- name: Run linters
# Indentation rules changed since 29.
if: ${{ startsWith(matrix.version, '29.') }}
run: find ./*.el test/*.el '!' -name '*autoloads.el' -exec ${ELDEV} lint doc re elisp '{}' '+'
- name: Run tests
run: ./scripts/run_test.sh