feat: event calendar #73
Workflow file for this run
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: | |
types: [ opened, reopened, synchronize, edited ] | |
workflow_call: | |
workflow_dispatch: | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
# Remember to also update in pyproject.toml and Dockerfile | |
python-version: '3.13' | |
- name: Run pre-commit tests | |
uses: pre-commit/[email protected] | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
# Remember to also update in pyproject.toml and Dockerfile | |
python-version: '3.13' | |
- name: Install Dependencies | |
run: | | |
# Remember to also update in pyproject.toml and Dockerfile | |
pip install poetry==2.0.1 | |
poetry install --only main | |
- name: Run Tests | |
run: make ci-test | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build image for amd64 and arm64 | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
platforms: linux/amd64,linux/arm64 | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |