Skip to content

Eglot support

Eglot support #11

Workflow file for this run

name: "Set up"
on:
push:
paths-ignore:
- "README.rst"
branches:
- "main"
pull_request:
branches:
- "*"
jobs:
set_up:
outputs:
cache-path: "${{ steps.cache-inputs.outputs.cache-path }}"
cache-key: "${{ steps.cache-inputs.outputs.cache-key }}"
runs-on: "ubuntu-latest"
continue-on-error: "${{ matrix.experimental }}"
strategy:
fail-fast: false
matrix:
emacs-version:
- "26.1"
- "26.2"
- "26.3"
- "27.1"
- "27.2"
- "28.1"
- "28.2"
- "29.1"
experimental: [false]
include:
- emacs-version: "snapshot"
experimental: true
steps:
- uses: "actions/checkout@v4"
- name: "Build cache inputs"
id: "cache-inputs"
run: |
{
echo 'cache-key<<EOF'
echo /nix/store
echo ~/.config/nix
echo ~/.cask
echo ~/.emacs.d
echo EOF
} >> "$GITHUB_OUTPUT"
echo 'cache-path=emacs-${{ matrix.emacs-version }}-cask-${{ hashFiles('Cask') }}' >> "$GITHUB_OUTPUT"
- uses: "actions/cache@v3"
id: "emacs-cask-cache"
with:
path: "${{ steps.cache-inputs.outputs.cache-key }}"
key: "${{ steps.cache-inputs.outputs.cache-path }}"
- if: ${{ steps.emacs-cask-cache.outputs.cache-hit != 'true' }}
uses: "purcell/setup-emacs@master"
with:
version: "${{ matrix.emacs-version }}"
- if: ${{ steps.emacs-cask-cache.outputs.cache-hit != 'true' }}
uses: "cask/setup-cask@master"
with:
version: "0.9.0"
compile:
needs:
- "set_up"
uses: "./.github/workflows/compile.yml"
with:
emacs-version: "${{ matrix.emacs-version }}"
cache-key: "${{ needs.set_up.outputs.cache-key }}"
cache-path: "${{ needs.set_up.outputs.cache-path }}"
test:
needs:
- "set_up"
uses: "./.github/workflows/test.yml"
with:
emacs-version: "${{ matrix.emacs-version }}"
cache-key: "${{ needs.set_up.outputs.cache-key }}"
cache-path: "${{ needs.set_up.outputs.cache-path }}"