Skip to content

typecheck(cli/_helpers.py) #2729

typecheck(cli/_helpers.py)

typecheck(cli/_helpers.py) #2729

name: Code Format Check
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
test:
name: Check
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.7", "3.12"]
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Hack to get setup-python to work on nektos/act
run: |
if [ ! -f "/etc/lsb-release" ] ; then
echo "DISTRIB_RELEASE=18.04" > /etc/lsb-release
fi
- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Set Up Environment
run: |
make install-uv reset-venv
source .venv/bin/activate
make install-pinned-extras
- name: Run Format Check
run: |
source .venv/bin/activate
make format-check
- name: Run Type Check
run: |
source .venv/bin/activate
make type-check