Skip to content

Commit

Permalink
Fiddling with docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
kberzinch committed Mar 2, 2024
1 parent a321119 commit 8fc98ec
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
run: vendor/bin/psalm --output-format=github --no-progress

- name: Run Enlightn
run: >-
cp --verbose .env.example .env &&
php artisan key:generate --no-interaction --verbose &&
php artisan passport:keys --no-interaction --verbose &&
run: |
cp --verbose .env.example .env
php artisan key:generate --no-interaction --verbose
php artisan passport:keys --no-interaction --verbose
php artisan enlightn --ci --details --show-exceptions --no-interaction --verbose
test:
Expand Down Expand Up @@ -121,19 +121,29 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: poetry

- name: Setup Poetry
uses: abatilo/actions-poetry@v2

- name: Configure Poetry
run: |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- name: Cache the virtualenv
uses: actions/cache@v3
with:
path: ./.venv
key: venv-${{ hashFiles('poetry.lock') }}

- name: Install Poetry dependencies
run: poetry install

- name: Build Sphinx docs
run: poetry run sphinx-build -M dirhtml . _build

- name: Install and run Vale
run: >-
pipx install vale &&
vale sync &&
run: |
pipx install vale
vale sync
vale .

0 comments on commit 8fc98ec

Please sign in to comment.