Release Khoj version 1.27.1 #287
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
# melpa quality checks like checkdoc, byte-compile, package-lint for khoj.el | |
# using melpazoid: https://github.com/riscy/melpazoid | |
name: build khoj.el | |
on: | |
push: | |
branches: | |
- 'master' | |
paths: | |
- src/interface/emacs/*.el | |
- .github/workflows/build_khoj_el.yml | |
pull_request: | |
branches: | |
- 'master' | |
paths: | |
- src/interface/emacs/*.el | |
- .github/workflows/build_khoj_el.yml | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v1 | |
with: { python-version: 3.11 } | |
- name: ⏬️ Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
sudo apt-get install emacs && emacs --version | |
git clone https://github.com/riscy/melpazoid.git ~/melpazoid | |
pip install ~/melpazoid | |
- name: 🌡️ Validate Khoj.el | |
env: | |
# Khoj recipe from https://github.com/melpa/melpa/pull/8321/files | |
RECIPE: (khoj :fetcher github :repo "khoj-ai/khoj" :files ("src/interface/emacs/*.el")) | |
EXIST_OK: true | |
LOCAL_REPO: ${{ github.workspace }} | |
run: echo $GITHUB_REF && make -C ~/melpazoid |