Skip to content

Add type hints using basedpyright #38

Add type hints using basedpyright

Add type hints using basedpyright #38

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 48, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'astral-sh/setup-uv'
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/[email protected]
with:
python-version: '3.12'
- run: uvx poetry install --extras=ssr
- run: uvx poetry run pytest -v -ra --cov --cov-report=term-missing
env:
COVERAGE_CORE: sysmon
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/[email protected]
with:
python-version: '3.12'
- run: uv build .
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3
- run: ruff check
- run: ruff format --check
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv
with:
python-version: '3.12'
- run: uvx poetry install --extras=ssr
- run: uvx poetry run mypy .