refactor(cli): show number of files processed/errors as final action #754
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
pull_request: | |
push: | |
branches: main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pdftotext | |
uses: daaku/gh-action-apt-install@v4 | |
with: | |
packages: build-essential libpoppler-cpp-dev pkg-config ocrmypdf | |
- name: Setup Python & Poetry | |
uses: ./.github/actions/setup-python-poetry | |
with: | |
python-version: "3.11" | |
poetry-version: "1.8.3" | |
- name: Run CI | |
run: | | |
poetry run task format | |
poetry run task lint | |
poetry run task mypy |