Skip to content

chore: update litestar version to 2.15.2 (#54) #154

chore: update litestar version to 2.15.2 (#54)

chore: update litestar version to 2.15.2 (#54) #154

Workflow file for this run

name: Tests and Linting
on:
pull_request:
push:
branches:
- main
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install Pre-Commit
run: python -m pip install pre-commit && pre-commit install
- name: Load cached Pre-Commit Dependencies
id: cached-pre-commit-dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pre-commit/
key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Execute Pre-Commit
run: pre-commit run --show-diff-on-failure --color=always --all-files
build-page:
needs: validate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.13"
- uses: actions/setup-node@v4
- run: npm ci
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Build page
run: make page
- name: Deploy
if: github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: page/_build/html
clean-exclude: |
1
lib