Skip to content

Update dependency scikit-learn to v1.5.0 [SECURITY] #600

Update dependency scikit-learn to v1.5.0 [SECURITY]

Update dependency scikit-learn to v1.5.0 [SECURITY] #600

Workflow file for this run

name: Build and Deploy Documentation
on:
push:
branches:
- "main"
paths-ignore:
- "tests/**"
- "**/*.md"
pull_request:
paths-ignore:
- "tests/**"
- "**/*.md"
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
# This cache is shared with 'build' in unittest.yml.
# https://docs.github.com/en/actions/advanced-guides/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache
- name: Load cached venv
id: cached-poetry-deps
uses: actions/cache@v3
with:
path: ./.venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-deps.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root --with doc
- name: Install library
run: poetry install --no-interaction --with doc
- name: Build documentation
run: |
make html
- name: Deploy to GitHub Pages
if: ${{ github.ref == 'refs/heads/main' }}
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/build/html