Skip to content

Commit

Permalink
Update requirements and actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ali6parmak committed Jun 4, 2024
1 parent 0f0058b commit 9866837
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ jobs:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
Expand All @@ -43,7 +43,7 @@ jobs:
run: mkdir -p models

- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'

Expand Down
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-r requirements.txt
pytest==8.2.0
pytest==8.2.1
black==24.4.2
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
torch==2.3.0
torchvision==0.18.0
timm==0.9.16
timm==1.0.3
Pillow==10.3.0
pdf-annotate==0.12.0
requests==2.31.0
scipy==1.13.0
requests==2.32.3
scipy==1.13.1
opencv-python==4.9.0.80
Shapely==2.0.4
transformers==4.40.1
transformers==4.41.2
pdf2image==1.17.0
git+https://github.com/huridocs/pdf-tokens-type-labeler@14bf7aef39b40843305ff43d8fe04953be746956
git+https://github.com/huridocs/pdf_paragraphs_extraction

0 comments on commit 9866837

Please sign in to comment.