Skip to content

Refactor permission check into Context.check_user_access with structu… #4

Refactor permission check into Context.check_user_access with structu…

Refactor permission check into Context.check_user_access with structu… #4

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
pre-commit:
name: pre-commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version-file: pyproject.toml
- uses: astral-sh/setup-uv@v8.1.0
with:
enable-cache: true
- uses: tox-dev/action-pre-commit-uv@v1
pyright:
name: pyright
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version-file: pyproject.toml
- uses: astral-sh/setup-uv@v8.1.0
with:
enable-cache: true
- run: uv sync --frozen --all-extras --group dev
- run: echo "$PWD/.venv/bin" >> $GITHUB_PATH
- uses: jakebailey/pyright-action@v3
with:
version: PATH