Skip to content

Improve project description #10

Improve project description

Improve project description #10

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
tags: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Create virtual environment
run: python3 -m venv --upgrade-deps .venv
- name: Install dependencies
run: .venv/bin/pip install .[dev]
- name: Check formatting
run: make format-check
- name: Lint
run: make lint
- name: Login to Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: meta
name: Extract metadata
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=semver,pattern={{version}}
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: .
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
push: true