Skip to content

Eglot support

Eglot support #9

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"
- 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: "${{ jobs.set_up.outputs.cache-key }}"

Check failure on line 72 in .github/workflows/setup.yml

View workflow run for this annotation

GitHub Actions / Set up

Invalid workflow file

The workflow is not valid. .github/workflows/setup.yml (Line: 72, Col: 18): Unrecognized named-value: 'jobs'. Located at position 1 within expression: jobs.set_up.outputs.cache-key .github/workflows/setup.yml (Line: 73, Col: 19): Unrecognized named-value: 'jobs'. Located at position 1 within expression: jobs.set_up.outputs.cache-path
cache-path: "${{ jobs.set_up.outputs.cache-path }}"
test:
needs: "set_up"
uses: "./.github/workflows/test.yml"
with:
emacs-version: "${{ matrix.emacs-version }}"
cache-key: "${{ jobs.set_up.outputs.cache-key }}"
cache-path: "${{ jobs.set_up.outputs.cache-path }}"