update GitHub actions

refactoring-2024-08-merged^2
cneud 9 months ago
parent a5c885e151
commit 9ad7b4f520

@ -14,8 +14,8 @@ jobs:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- uses: actions/cache@v2 - uses: actions/cache@v4
id: model_cache id: model_cache
with: with:
path: models_eynollah path: models_eynollah
@ -24,7 +24,7 @@ jobs:
if: steps.model_cache.outputs.cache-hit != 'true' if: steps.model_cache.outputs.cache-hit != 'true'
run: make models run: make models
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install dependencies

@ -31,6 +31,8 @@ dependencies = [
"setuptools >= 61", "setuptools >= 61",
] ]
# TODO: test dependencies
[project.scripts] [project.scripts]
eynollah = "eynollah.eynollah.cli:main" eynollah = "eynollah.eynollah.cli:main"
ocrd-eynollah-segment = "eynollah.eynollah.ocrd_cli:main" ocrd-eynollah-segment = "eynollah.eynollah.ocrd_cli:main"

Loading…
Cancel
Save