Skip to content

fix(v2): raise NotFoundError on soft_delete of already-deleted entity #51

fix(v2): raise NotFoundError on soft_delete of already-deleted entity

fix(v2): raise NotFoundError on soft_delete of already-deleted entity #51

Workflow file for this run

name: main
on:
push:
branches:
- main
tags:
- v*.*.*
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
jobs:
quality:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.12'
- '3.13'
- '3.14'
postgres-version:
- 16
- 17
- 18
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
- run: uv python install ${{ matrix.python-version }}
- run: make lint
- run: make test postgres_version=${{ matrix.postgres-version }}
automerge:
runs-on: ubuntu-latest
needs: quality
permissions: write-all
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
steps:
- name: automerge
uses: pascalgn/automerge-action@v0.16.4
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: ""
release:
name: Deploy to PyPI
runs-on: ubuntu-latest
needs: quality
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
- run: uv version $GITHUB_REF_NAME
- run: uv build
- run: uv publish --token $PYPI_TOKEN
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}