Skip to content

Add CLI to project scripts #9

Add CLI to project scripts

Add CLI to project scripts #9

Workflow file for this run

name: checks
on:
push:
branches: [master]
pull_request:
branches: [master]
concurrency:
group: checks-${{ github.head_ref }}
cancel-in-progress: true
env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
jobs:
run:
name: Run checks [Python ${{ matrix.python-version }}]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Hatch
run: pip install --upgrade hatch
- name: Linting
run: hatch fmt --check
- name: Type checking
run: hatch run types:check