Skip to content

Replace typing.List and other aliases w/ builtin equivalents after Python 3.10 #1379

Replace typing.List and other aliases w/ builtin equivalents after Python 3.10

Replace typing.List and other aliases w/ builtin equivalents after Python 3.10 #1379

Workflow file for this run

name: Build
on:
push:
branches:
- main
- next
tags:
- v*
pull_request:
jobs:
fixit:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [macOS-latest, ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m pip install -U pip hatch
python -m hatch env create
python -m hatch env create lint
- name: Test
run: |
python -m hatch run test
- name: Lint
run: |
python -m hatch run lint:check
- name: Typecheck
run: |
python -m hatch run typecheck
- name: Docs
if: ${{ matrix.python-version != '3.8' && matrix.python-version != '3.9' }}
run: |
python -m hatch run docs:build
- name: Generated changes
run: git diff --exit-code