New 'ledger-indent-region' function #1
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: | |
pull_request: | |
push: | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.org' | |
- '.dir-locals.el' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
emacs_version: [25.1, 25.2, 25.3, 26.1, 26.2, 26.3, 27.1, 27.2, 28.1, 28.2, 29.1, snapshot] | |
include: | |
- emacs_version: snapshot | |
ledger_version: github:ledger/ledger#ledger | |
steps: | |
- uses: cachix/install-nix-action@v25 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: purcell/setup-emacs@master | |
with: | |
version: ${{ matrix.emacs_version }} | |
- uses: actions/checkout@v4 | |
# Byte compilation is known to fail in Emacs < 26.1 due to ledger-flymake.el, which should | |
# be packaged separately | |
- name: Byte compilation | |
run: emacs --eval "(setq byte-compile-error-on-warn (>= emacs-major-version 26))" -L . --batch -f batch-byte-compile *.el | |
- name: Tests | |
run: nix shell ${{ matrix.ledger_version || 'nixpkgs#ledger' }} --print-build-logs -c make -C test test-batch | |
# This is currently for information only, since a lot of docstrings need fixing up | |
- name: Checkdoc | |
run: make -C test checkdoc || true |