Skip to content

refactor: improve type annotations #28

refactor: improve type annotations

refactor: improve type annotations #28

Workflow file for this run

name: Python application
on:
push:
branches: ["main", "github-action"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Setup PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
cache: true
- name: Install dependencies
run: pdm install
- name: Lint with ruff
run: |
pdm run ruff check .
- name: Test with pytest
run: |
pdm run pytest