Skip to content

Make indentation configurable and default to d2 fmt indent #41

Make indentation configurable and default to d2 fmt indent

Make indentation configurable and default to d2 fmt indent #41

Workflow file for this run

name: Elisp Check
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
emacs-version:
- 26.3
- 27.2
- 28.2
- snapshot
steps:
- uses: actions/checkout@v3
- name: Setup Emacs
uses: jcs090218/setup-emacs@master
with:
version: ${{ matrix.emacs-version }}
# Remove expired DST Root CA X3 certificate. Workaround for
# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51038 bug on Emacs 27.2.
# https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-1126671598
- name: Workaround for Emacs 27.x and below's Windows build from GNU FTP
if: ${{ runner.os == 'Windows' && (matrix.emacs-version == '26.3' || matrix.emacs-version == '27.2') }}
run: |
gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13
gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13 | Remove-Item
- name: Emacs Lisp check
uses: leotaku/[email protected]
with:
file: d2-mode.el
warnings_as_errors: true