Skip to content

chore: Update rye command to run mypy in CI workflow #15

chore: Update rye command to run mypy in CI workflow

chore: Update rye command to run mypy in CI workflow #15

name: Multiple Python Versions CI boilerplate
on:
push:
pull_request:
jobs:
linter_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
- uses: eifinger/setup-rye@v2
- run: rye sync
- run: rye fmt
- run: rye lint
- run: rye test
- run: rye run mypy src