Skip to content

Chore(deps): Update pydantic requirement from <2,>=1.10.5 to >=1.10.5,<3 #16

Chore(deps): Update pydantic requirement from <2,>=1.10.5 to >=1.10.5,<3

Chore(deps): Update pydantic requirement from <2,>=1.10.5 to >=1.10.5,<3 #16

Workflow file for this run

---
name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
# Use GitHub's Docker registry to cache intermediate layers
- run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com
-u $GITHUB_ACTOR --password-stdin
- run: docker pull docker.pkg.github.com/$GITHUB_REPOSITORY/aleph-message-build-cache
|| true
- name: Build the Docker image
run: |
git fetch --tags
docker build . -t aleph-message:${GITHUB_REF##*/} -f Dockerfile --cache-from=docker.pkg.github.com/$GITHUB_REPOSITORY/aleph-message-build-cache
- name: Cache the image on GitHub's repository
run: docker tag aleph-message:${GITHUB_REF##*/} docker.pkg.github.com/$GITHUB_REPOSITORY/aleph-message-build-cache
&& docker push docker.pkg.github.com/$GITHUB_REPOSITORY/aleph-message-build-cache
|| true
- name: Test that aleph_message is correctly installed
run: |-
docker run aleph-message:${GITHUB_REF##*/} python -c "from aleph_message import parse_message"