chore: Fix build task names and check lake

This commit is contained in:
Leni Aniva 2024-10-18 15:34:37 -07:00
parent 5379b0abe2
commit 92edb0d0cd
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
1 changed files with 11 additions and 8 deletions

View File

@ -23,20 +23,23 @@ jobs:
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install poetry
poetry install --only doc
- name: install elan
- name: Install elan
run: |
set -o pipefail
curl -sSfL https://github.com/leanprover/elan/releases/download/v3.1.1/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz
./elan-init -y --default-toolchain none
echo "$HOME/.elan/bin" >> "${GITHUB_PATH}"
# Build the book
- name: Build the book
- name: Print lean and lake versions
run: |
lake --version
- name: Install poetry
run: |
pip install poetry
poetry install --only doc
- name: Build documentations
run: |
poetry run jupyter-book build docs