initial commit

This commit is contained in:
2025-03-31 14:55:32 +02:00
commit 9decf702e3
27 changed files with 3235 additions and 0 deletions

30
.github/actions/poetrybuild/action.yaml vendored Normal file
View File

@@ -0,0 +1,30 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0
name: "Reusable Poetry build workflow"
inputs:
python:
default: "3.10"
description: "Value for 'python-version'"
required: false
type: string
poetry_args:
default: ""
description: "Additional arguments for the poetry install step'"
required: false
type: string
runs:
using: "composite"
steps:
- name: Install poetry
run: pipx install poetry
shell: bash
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python }}
cache: "poetry"
- name: Install dependencies
run: poetry install --no-interaction ${{ inputs.poetry_args }}
shell: bash