#6 temporarily fix quickstart example #54
Workflow file for this run
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' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
emacs-version: | |
- 27.1 | |
- 28.2 | |
- 29.1 | |
- snapshot | |
cask_version: | |
- '0.8.8' # latest version not available nixos-unstable yet... | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: purcell/setup-emacs@master | |
with: | |
version: ${{ matrix.emacs-version }} | |
- uses: actions/cache@v2 | |
id: cache-cask-packages | |
with: | |
path: .cask | |
key: cache-cask-packages-000 | |
- uses: actions/cache@v2 | |
id: cache-cask-executable | |
with: | |
path: ~/.cask | |
key: cache-cask-executable-000 | |
- uses: cask/setup-cask@master | |
if: steps.cache-cask-executable.outputs.cache-hit != 'true' | |
with: | |
version: snapshot | |
- run: echo "$HOME/.cask/bin" >> $GITHUB_PATH | |
- name: Install direnv with Nix | |
run: nix profile install nixpkgs#direnv | | |
echo 'eval "$(direnv hook bash)"' >> ~/.bashrc | |
- name: Check emacs version | |
run: emacs --version | |
- name: Run tests | |
run: make test | |
- name: Run package-lint | |
run: make lint |