Files
vnpy/.github/workflows/pythonapp.yml
T
dreamforcer2003 90de9a0ff2 chore(ci): upgrade GitHub Actions to v4/v5 and add Dependabot config
- Upgrade actions/checkout from v1 to v4
- Upgrade actions/setup-python from v1 to v5
- Add Dependabot config for pip and GitHub Actions weekly updates
2026-03-07 17:41:19 +08:00

34 lines
878 B
YAML

name: Python application
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff mypy uv types-tqdm
uv pip install ta-lib==0.6.4 --index=https://pypi.vnpy.com --system
uv pip install -e .[alpha,dev] --system
- name: Lint with ruff
run: |
# Run ruff linter based on pyproject.toml configuration
ruff check .
- name: Type check with mypy
run: |
# Run mypy type checking based on pyproject.toml configuration
mypy vnpy
- name: Build packages with uv
run: |
# Build source distribution and wheel distribution
uv build