Skip to content

chore: migrate type annotations to PEP 585 built-in generics #221

chore: migrate type annotations to PEP 585 built-in generics

chore: migrate type annotations to PEP 585 built-in generics #221

Workflow file for this run

name: Build Wheels
on:
pull_request:
workflow_call:
workflow_dispatch:
env:
UV_VERSION: 0.8.22
jobs:
build-wheels:
name: Build wheels for ${{ matrix.PYTHON_VERSION }}
runs-on: ubuntu-latest
strategy:
matrix:
PYTHON_VERSION: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install uv
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
with:
version: "${{ env.UV_VERSION }}"
python-version: "${{ matrix.PYTHON_VERSION }}"
enable-cache: 'true'
cache-suffix: "${{ matrix.PYTHON_VERSION }}"
- name: Build wheels
run: |
uv build --wheel -o wheelhouse
- name: Upload wheels
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: fgpyo-wheels-${{ matrix.PYTHON_VERSION }}
path: ./wheelhouse/fgpyo*.whl
if-no-files-found: error