Bump version 0.1.24 to 0.1.25 #35
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
on: | |
push: | |
branches: | |
- main | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: actions/configure-pages@v5 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- run: pip install poetry | |
- run: poetry install --with dev | |
- run: poetry run ruff format --check | |
# - run: poetry run ruff check # TODO: Enable this line | |
# - run: poetry run mypy src/ tests/ # TODO: Enable this line | |
- run: poetry run pytest | |
- run: poetry run mkslides-reveal build docs/index.md | |
- uses: actions/upload-pages-artifact@v3 | |
with: | |
path: ./site | |
- id: deployment | |
uses: actions/deploy-pages@v4 |