name: Emacs lint

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        emacs_version:
          - 25.1
          - 25.2
          - 25.3
          - 26.1
          - 26.2
          - 26.3
          - 27.1
          - 27.2
          - snapshot
        # include:
        #   - emacs_version: 24.1
        #     lint_ignore: 1
        #   - emacs_version: 24.2
        #     lint_ignore: 1
    env:
      EMACS_LINT_IGNORE: ${{ matrix.lint_ignore }}
    steps:
    - uses: purcell/setup-emacs@master
      with:
        version: ${{ matrix.emacs_version }}

    - uses: actions/checkout@v2
    - name: Run tests
      run: 'cd emacs && ./check.sh'

name: Emacs lint

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        emacs_version:
          #- 25.1
          #- 25.2
          #- 25.3
          #- 26.1
          #- 26.2
          #- 26.3
          #- 27.1
          - 27.2
          - snapshot
        # include:
        #   - emacs_version: 24.1
        #     lint_ignore: 1
        #   - emacs_version: 24.2
        #     lint_ignore: 1
    env:
      EMACS_LINT_IGNORE: ${{ matrix.lint_ignore }}
    steps:
    - uses: purcell/setup-emacs@master
      with:
        version: ${{ matrix.emacs_version }}

    - uses: actions/checkout@v2
    - name: Run tests
      run: 'cd emacs && ./check.sh'

Check Emacs lint only on 27.2 and latest versions
Check Emacs lint only on 27.2 and latest versions