Skip to content

Merge pull request #257 from charles7668/fix/text-too-large #208

Merge pull request #257 from charles7668/fix/text-too-large

Merge pull request #257 from charles7668/fix/text-too-large #208

Workflow file for this run

name: Build Python Package
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build flake8 black
- name: Check code format
run: |
black --check --diff --color pdf2zh/*.py
flake8 --ignore E203,E261,E501,W503,E741
- name: Build package
run: python -m build