oe-python-template 0.6.18__tar.gz → 0.6.19__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.copier-answers.yml +1 -1
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.github/workflows/docker-image-build-publish.yml +8 -10
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.github/workflows/package-build-publish-release.yml +2 -2
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.github/workflows/test-and-report.yml +7 -7
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/CHANGELOG.md +8 -4
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/CONTRIBUTING.md +7 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/PKG-INFO +1 -1
- oe_python_template-0.6.19/RELEASE_NOTES.md +8 -0
- oe_python_template-0.6.19/VERSION +1 -0
- oe_python_template-0.6.19/docs/source/_static/openapi_v2.json +262 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/conf.py +1 -1
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/examples/notebook.py +1 -1
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/pyproject.toml +2 -2
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/sonar-project.properties +1 -1
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.github/workflows/docker-image-build-publish.yml.jinja +8 -8
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.github/workflows/package-build-publish-release.yml.jinja +2 -2
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.github/workflows/test-and-report.yml.jinja +7 -7
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/CONTRIBUTING.md.jinja +7 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/examples/notebook.py.jinja +1 -1
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/uv.lock +1 -1
- oe_python_template-0.6.18/RELEASE_NOTES.md +0 -14
- oe_python_template-0.6.18/VERSION +0 -1
- oe_python_template-0.6.18/docs/source/_static/openapi_v2.json +0 -62
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.act-env-public +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.devcontainer/Dockerfile +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.devcontainer/devcontainer.json +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.devcontainer/onCreateCommand +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.devcontainer/postAttachCommand +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.devcontainer/postCreateCommand +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.env.example +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.github/copilot-instructions.md +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.github/dependabot.yml +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.github/prompts/.keep +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.github/workflows/codeql.yml +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.gitignore +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.pre-commit-config.yaml +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.python-version +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.readthedocs.yml +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.secrets.baseline +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.vscode/extensions.json +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/.vscode/settings.json +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/CODEOWNERS +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/CODE_STYLE.md +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/Dockerfile +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/LICENSE +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/README.md +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/SECURITY.md +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/SERVICE_CONNECTIONS.md +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/bin/git-cliff +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/codecov.yml +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/compose.yaml +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/copier.yml +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/Makefile +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/make.bat +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/partials/README_footer.md +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/partials/README_header.md +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/partials/README_main.md +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/_static/.keep +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/_static/openapi_v1.json +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/_static/openapi_v1.yaml +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/_static/openapi_v2.yaml +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/api_v1.rst +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/api_v2.rst +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/code-style.rst +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/contributing.rst +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/index.rst +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/latexmkrc +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/main.rst +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/reference.rst +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/release-notes.rst +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/docs/source/security.rst +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/examples/__init__.py +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/examples/notebook.ipynb +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/examples/script.py +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/examples/streamlit.py +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/git-cliff-2.7.0/CHANGELOG.md +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/git-cliff-2.7.0/LICENSE-APACHE +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/git-cliff-2.7.0/LICENSE-MIT +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/git-cliff-2.7.0/README.md +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/git-cliff-2.7.0/completions/_git-cliff +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/git-cliff-2.7.0/completions/_git-cliff.ps1 +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/git-cliff-2.7.0/completions/git-cliff.bash +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/git-cliff-2.7.0/completions/git-cliff.elv +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/git-cliff-2.7.0/completions/git-cliff.fish +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/git-cliff-2.7.0/git-cliff-completions +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/git-cliff-2.7.0/git-cliff-mangen +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/git-cliff-2.7.0/man/git-cliff.1 +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/git-cliff-2.7.0-x86_64-unknown-linux-gnu.tar.gz +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/github-action-run +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/logo.png +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/n +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/noxfile.py +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/renovate.json +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/reports/.keep +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/src/oe_python_template/__init__.py +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/src/oe_python_template/api.py +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/src/oe_python_template/cli.py +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/src/oe_python_template/constants.py +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/src/oe_python_template/service.py +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.act-env-public.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.devcontainer/Dockerfile.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.devcontainer/devcontainer.json.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.devcontainer/onCreateCommand.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.devcontainer/postAttachCommand.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.devcontainer/postCreateCommand.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.env.example.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.github/copilot-instructions.md +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.github/dependabot.yml +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.github/workflows/codeql.yml +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.gitignore.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.pre-commit-config.yaml.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.python-version +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.readthedocs.yml.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.vscode/extensions.json +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/.vscode/settings.json.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/CHANGELOG.md +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/CODEOWNERS.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/CODE_STYLE.md.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/Dockerfile.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/LICENSE.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/README.md +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/SECURITY.md.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/SERVICE_CONNECTIONS.md.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/VERSION +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/codecov.yml.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/compose.yaml.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/Makefile.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/make.bat.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/partials/README_footer.md.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/partials/README_header.md.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/partials/README_main.md.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/source/_static/.keep +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/source/api_v1.rst.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/source/api_v2.rst.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/source/code-style.rst.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/source/conf.py.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/source/contributing.rst.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/source/index.rst.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/source/main.rst.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/source/reference.rst.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/source/release-notes.rst.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/docs/source/security.rst.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/examples/__init__.py.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/examples/notebook.ipynb.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/examples/script.py.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/examples/streamlit.py.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/github-action-run.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/logo.png +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/n.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/noxfile.py.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/pyproject.toml.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/renovate.json +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/reports/.keep +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/sonar-project.properties.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/src/{{ project_name_snake_case }}/__init__.py.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/src/{{ project_name_snake_case }}/api.py.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/src/{{ project_name_snake_case }}/cli.py.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/src/{{ project_name_snake_case }}/constants.py.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/src/{{ project_name_snake_case }}/service.py.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/tests/__init__.py.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/tests/api_test.py.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/tests/cli_test.py.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/tests/fixtures/.keep +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/template/{{_copier_conf.answers_file}}.jinja +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/tests/__init__.py +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/tests/api_test.py +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/tests/cli_test.py +0 -0
- {oe_python_template-0.6.18 → oe_python_template-0.6.19}/tests/fixtures/.keep +0 -0
|
@@ -21,18 +21,18 @@ jobs:
|
|
|
21
21
|
id-token: write
|
|
22
22
|
steps:
|
|
23
23
|
- name: Checkout
|
|
24
|
-
uses: actions/checkout@v4
|
|
24
|
+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
25
25
|
|
|
26
26
|
- name: Set up QEMU
|
|
27
|
-
uses: docker/setup-qemu-action@v3
|
|
27
|
+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
|
|
28
28
|
|
|
29
29
|
- name: Set up Docker Buildx
|
|
30
|
-
uses: docker/setup-buildx-action@v3
|
|
30
|
+
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
- name: Log in to Docker Hub
|
|
35
|
-
uses: docker/login-action@v3
|
|
35
|
+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
|
|
36
36
|
with:
|
|
37
37
|
|
|
38
38
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
@@ -41,7 +41,7 @@ jobs:
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
- name: Log in to GitHub container registry
|
|
44
|
-
uses: docker/login-action@v3
|
|
44
|
+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
|
|
45
45
|
with:
|
|
46
46
|
registry: ghcr.io
|
|
47
47
|
|
|
@@ -51,7 +51,7 @@ jobs:
|
|
|
51
51
|
|
|
52
52
|
- name: Extract metadata (tags, labels) for Docker
|
|
53
53
|
id: meta
|
|
54
|
-
uses: docker/metadata-action@v5
|
|
54
|
+
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
|
|
55
55
|
with:
|
|
56
56
|
|
|
57
57
|
|
|
@@ -73,7 +73,7 @@ jobs:
|
|
|
73
73
|
|
|
74
74
|
- name: Build and push Docker image
|
|
75
75
|
id: push
|
|
76
|
-
uses: docker/build-push-action@v6
|
|
76
|
+
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
|
|
77
77
|
with:
|
|
78
78
|
context: .
|
|
79
79
|
file: ./Dockerfile
|
|
@@ -86,10 +86,8 @@ jobs:
|
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
- name: Generate artifact attestation
|
|
89
|
-
uses: actions/attest-build-provenance@v2
|
|
89
|
+
uses: actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # v2.2.3
|
|
90
90
|
with:
|
|
91
91
|
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
92
92
|
subject-digest: ${{ steps.push.outputs.digest }}
|
|
93
93
|
push-to-registry: true
|
|
94
|
-
|
|
95
|
-
|
|
@@ -15,12 +15,12 @@ jobs:
|
|
|
15
15
|
packages: read
|
|
16
16
|
steps:
|
|
17
17
|
- name: Checkout
|
|
18
|
-
uses: actions/checkout@v4
|
|
18
|
+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
19
19
|
with:
|
|
20
20
|
fetch-depth: 0
|
|
21
21
|
|
|
22
22
|
- name: Generate release notes
|
|
23
|
-
uses: orhun/git-cliff-action@v4
|
|
23
|
+
uses: orhun/git-cliff-action@4a4a951bc43fafe41cd2348d181853f52356bee7 # v4.4.2
|
|
24
24
|
id: git-cliff
|
|
25
25
|
with:
|
|
26
26
|
config: pyproject.toml
|
{oe_python_template-0.6.18 → oe_python_template-0.6.19}/.github/workflows/test-and-report.yml
RENAMED
|
@@ -17,7 +17,7 @@ jobs:
|
|
|
17
17
|
id-token: write
|
|
18
18
|
steps:
|
|
19
19
|
- name: Checkout
|
|
20
|
-
uses: actions/checkout@v4
|
|
20
|
+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
21
21
|
with:
|
|
22
22
|
fetch-depth: 0
|
|
23
23
|
|
|
@@ -30,7 +30,7 @@ jobs:
|
|
|
30
30
|
sudo apt-get install -y curl jq xsltproc gnupg2 libcairo2
|
|
31
31
|
|
|
32
32
|
- name: Install uv (python package manager)
|
|
33
|
-
uses: astral-sh/setup-uv@v5
|
|
33
|
+
uses: astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231 # v5.3.1
|
|
34
34
|
with:
|
|
35
35
|
version: "0.5.9"
|
|
36
36
|
enable-cache: true
|
|
@@ -58,7 +58,7 @@ jobs:
|
|
|
58
58
|
echo "Development build - Current version in pyproject.toml: $TOML_VERSION"
|
|
59
59
|
|
|
60
60
|
- name: Create .env file
|
|
61
|
-
uses: SpicyPizza/create-envfile@v2.0
|
|
61
|
+
uses: SpicyPizza/create-envfile@ace6d4f5d7802b600276c23ca417e669f1a06f6f # v2.0.3
|
|
62
62
|
with:
|
|
63
63
|
envkey_ENV_KEY: "ENV_VALUE"
|
|
64
64
|
fail_on_empty: true
|
|
@@ -80,7 +80,7 @@ jobs:
|
|
|
80
80
|
uv run nox
|
|
81
81
|
|
|
82
82
|
- name: Upload test results
|
|
83
|
-
uses: actions/upload-artifact@v4
|
|
83
|
+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
|
84
84
|
if: ${{ always() && (env.GITHUB_WORKFLOW_RUNTIME != 'ACT') }}
|
|
85
85
|
with:
|
|
86
86
|
name: test-results
|
|
@@ -94,7 +94,7 @@ jobs:
|
|
|
94
94
|
retention-days: 30
|
|
95
95
|
|
|
96
96
|
- name: Upload coverage reports to Codecov
|
|
97
|
-
uses: codecov/codecov-action@v5
|
|
97
|
+
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
|
|
98
98
|
if: ${{ !cancelled() && (env.GITHUB_WORKFLOW_RUNTIME != 'ACT') }}
|
|
99
99
|
with:
|
|
100
100
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
@@ -102,12 +102,12 @@ jobs:
|
|
|
102
102
|
|
|
103
103
|
- name: Upload test results to Codecov
|
|
104
104
|
if: ${{ !cancelled() && (env.GITHUB_WORKFLOW_RUNTIME != 'ACT') }}
|
|
105
|
-
uses: codecov/test-results-action@v1
|
|
105
|
+
uses: codecov/test-results-action@f2dba722c67b86c6caa034178c6e4d35335f6706 # v1.1.0
|
|
106
106
|
with:
|
|
107
107
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
108
108
|
- name: SonarQube Scan
|
|
109
109
|
if: ${{ !cancelled() && (env.GITHUB_WORKFLOW_RUNTIME != 'ACT') }}
|
|
110
|
-
uses: SonarSource/sonarqube-scan-action@v5
|
|
110
|
+
uses: SonarSource/sonarqube-scan-action@0303d6b62e310685c0e34d0b9cde218036885c4d # v5.0.0
|
|
111
111
|
env:
|
|
112
112
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
113
113
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
[🧠 OE Python Template](https://oe-python-template.readthedocs.io/en/latest/)
|
|
2
2
|
|
|
3
|
-
## [0.6.
|
|
3
|
+
## [0.6.19](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.18..0.6.19) - 2025-03-18
|
|
4
|
+
|
|
5
|
+
### 🚜 Refactor
|
|
6
|
+
|
|
7
|
+
- *(codeql)* Fix - ([0af319f](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/0af319fcf7a24c06cb3cacdfa3140e6121830e09))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [0.6.18](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.17..v0.6.18) - 2025-03-18
|
|
4
11
|
|
|
5
12
|
### 📚 Documentation
|
|
6
13
|
|
|
@@ -12,9 +19,6 @@
|
|
|
12
19
|
- Debug rtd - ([bc760ac](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/bc760aca603950b8dd1cf5c77241b2f8ccc091d2))
|
|
13
20
|
- Debug rtd pdf link - ([192df7f](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/192df7f2552180eb721fd21b32f9e074c0f35073))
|
|
14
21
|
|
|
15
|
-
## New Contributors ❤️
|
|
16
|
-
|
|
17
|
-
* @helmut-hoffer-von-ankershoffen made their first contribution
|
|
18
22
|
|
|
19
23
|
## [0.6.17](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.16..v0.6.17) - 2025-03-18
|
|
20
24
|
|
|
@@ -20,6 +20,7 @@ fi
|
|
|
20
20
|
which jq &> /dev/null || brew install jq
|
|
21
21
|
which xmllint &> /dev/null || brew install xmllint
|
|
22
22
|
which act &> /dev/null || brew install act
|
|
23
|
+
which pinact &> /dev/null || brew install pinact
|
|
23
24
|
uv run pre-commit install # install pre-commit hooks, see https://pre-commit.com/
|
|
24
25
|
```
|
|
25
26
|
|
|
@@ -130,6 +131,12 @@ docker build -t oe-python-template .
|
|
|
130
131
|
docker run --env THE_VAR=THE_VALUE oe-python-template --help
|
|
131
132
|
```
|
|
132
133
|
|
|
134
|
+
### Pinning github actions
|
|
135
|
+
|
|
136
|
+
```shell
|
|
137
|
+
pinact run # See https://dev.to/suzukishunsuke/pin-github-actions-to-a-full-length-commit-sha-for-security-2n7p
|
|
138
|
+
```
|
|
139
|
+
|
|
133
140
|
### Copier
|
|
134
141
|
|
|
135
142
|
Update from template
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oe-python-template
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.19
|
|
4
4
|
Summary: 🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling.
|
|
5
5
|
Project-URL: Homepage, https://oe-python-template.readthedocs.io/en/latest/
|
|
6
6
|
Project-URL: Documentation, https://oe-python-template.readthedocs.io/en/latest/
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
## [0.6.19](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.18..v0.6.19) - 2025-03-18
|
|
2
|
+
|
|
3
|
+
### 🚜 Refactor
|
|
4
|
+
|
|
5
|
+
- *(codeql)* Fix - ([0af319f](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/0af319fcf7a24c06cb3cacdfa3140e6121830e09))
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.6.19
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.1.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "OE Python Template",
|
|
5
|
+
"termsOfService": "https://oe-python-template.readthedocs.io/en/latest/",
|
|
6
|
+
"contact": {
|
|
7
|
+
"name": "Helmut Hoffer von Ankershoffen",
|
|
8
|
+
"url": "https://github.com/helmut-hoffer-von-ankershoffen",
|
|
9
|
+
"email": "helmuthva@gmail.com"
|
|
10
|
+
},
|
|
11
|
+
"version": "2.0.0"
|
|
12
|
+
},
|
|
13
|
+
"paths": {
|
|
14
|
+
"/health": {
|
|
15
|
+
"get": {
|
|
16
|
+
"tags": [
|
|
17
|
+
"Observability"
|
|
18
|
+
],
|
|
19
|
+
"summary": "Health",
|
|
20
|
+
"description": "Check the health of the service.\n\nThis endpoint returns the health status of the service.\nThe health status can be either UP or DOWN.\nIf the service is healthy, the status will be UP.\nIf the service is unhealthy, the status will be DOWN and a reason will be provided.\nThe response will have a 200 OK status code if the service is healthy,\nand a 500 Internal Server Error status code if the service is unhealthy.\n\nReturns:\n Health: The health status of the service.",
|
|
21
|
+
"operationId": "health_health_get",
|
|
22
|
+
"responses": {
|
|
23
|
+
"200": {
|
|
24
|
+
"description": "Successful Response",
|
|
25
|
+
"content": {
|
|
26
|
+
"application/json": {
|
|
27
|
+
"schema": {
|
|
28
|
+
"$ref": "#/components/schemas/Health"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"/healthz": {
|
|
37
|
+
"get": {
|
|
38
|
+
"tags": [
|
|
39
|
+
"Observability"
|
|
40
|
+
],
|
|
41
|
+
"summary": "Health",
|
|
42
|
+
"description": "Check the health of the service.\n\nThis endpoint returns the health status of the service.\nThe health status can be either UP or DOWN.\nIf the service is healthy, the status will be UP.\nIf the service is unhealthy, the status will be DOWN and a reason will be provided.\nThe response will have a 200 OK status code if the service is healthy,\nand a 500 Internal Server Error status code if the service is unhealthy.\n\nReturns:\n Health: The health status of the service.",
|
|
43
|
+
"operationId": "health_healthz_get",
|
|
44
|
+
"responses": {
|
|
45
|
+
"200": {
|
|
46
|
+
"description": "Successful Response",
|
|
47
|
+
"content": {
|
|
48
|
+
"application/json": {
|
|
49
|
+
"schema": {
|
|
50
|
+
"$ref": "#/components/schemas/Health"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"/hello-world": {
|
|
59
|
+
"get": {
|
|
60
|
+
"tags": [
|
|
61
|
+
"Basics"
|
|
62
|
+
],
|
|
63
|
+
"summary": "Hello World",
|
|
64
|
+
"description": "Return a hello world message.\n\nReturns:\n HelloWorldResponse: A response containing the hello world message.",
|
|
65
|
+
"operationId": "hello_world_hello_world_get",
|
|
66
|
+
"responses": {
|
|
67
|
+
"200": {
|
|
68
|
+
"description": "Successful Response",
|
|
69
|
+
"content": {
|
|
70
|
+
"application/json": {
|
|
71
|
+
"schema": {
|
|
72
|
+
"$ref": "#/components/schemas/HelloWorldResponse"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"/echo": {
|
|
81
|
+
"post": {
|
|
82
|
+
"tags": [
|
|
83
|
+
"Basics"
|
|
84
|
+
],
|
|
85
|
+
"summary": "Echo V2",
|
|
86
|
+
"description": "Echo back the provided utterance.\n\nArgs:\n request (Utterance): The request containing the utterance to echo back.\n\nReturns:\n EchoResponse: A response containing the echoed utterance.\n\nRaises:\n 422 Unprocessable Entity: If utterance is not provided or empty.",
|
|
87
|
+
"operationId": "echo_v2_echo_post",
|
|
88
|
+
"requestBody": {
|
|
89
|
+
"content": {
|
|
90
|
+
"application/json": {
|
|
91
|
+
"schema": {
|
|
92
|
+
"$ref": "#/components/schemas/Utterance"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"required": true
|
|
97
|
+
},
|
|
98
|
+
"responses": {
|
|
99
|
+
"200": {
|
|
100
|
+
"description": "Successful Response",
|
|
101
|
+
"content": {
|
|
102
|
+
"application/json": {
|
|
103
|
+
"schema": {
|
|
104
|
+
"$ref": "#/components/schemas/EchoResponse"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"422": {
|
|
110
|
+
"description": "Validation Error",
|
|
111
|
+
"content": {
|
|
112
|
+
"application/json": {
|
|
113
|
+
"schema": {
|
|
114
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"components": {
|
|
124
|
+
"schemas": {
|
|
125
|
+
"EchoResponse": {
|
|
126
|
+
"properties": {
|
|
127
|
+
"message": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"minLength": 1,
|
|
130
|
+
"title": "Message",
|
|
131
|
+
"description": "The message content",
|
|
132
|
+
"examples": [
|
|
133
|
+
"Hello, world!"
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"type": "object",
|
|
138
|
+
"required": [
|
|
139
|
+
"message"
|
|
140
|
+
],
|
|
141
|
+
"title": "EchoResponse",
|
|
142
|
+
"description": "Response model for echo endpoint."
|
|
143
|
+
},
|
|
144
|
+
"HTTPValidationError": {
|
|
145
|
+
"properties": {
|
|
146
|
+
"detail": {
|
|
147
|
+
"items": {
|
|
148
|
+
"$ref": "#/components/schemas/ValidationError"
|
|
149
|
+
},
|
|
150
|
+
"type": "array",
|
|
151
|
+
"title": "Detail"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"type": "object",
|
|
155
|
+
"title": "HTTPValidationError"
|
|
156
|
+
},
|
|
157
|
+
"Health": {
|
|
158
|
+
"properties": {
|
|
159
|
+
"status": {
|
|
160
|
+
"$ref": "#/components/schemas/_HealthStatus"
|
|
161
|
+
},
|
|
162
|
+
"reason": {
|
|
163
|
+
"anyOf": [
|
|
164
|
+
{
|
|
165
|
+
"type": "string"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"type": "null"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"title": "Reason"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"type": "object",
|
|
175
|
+
"required": [
|
|
176
|
+
"status"
|
|
177
|
+
],
|
|
178
|
+
"title": "Health",
|
|
179
|
+
"description": "Health status model."
|
|
180
|
+
},
|
|
181
|
+
"HelloWorldResponse": {
|
|
182
|
+
"properties": {
|
|
183
|
+
"message": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"title": "Message",
|
|
186
|
+
"description": "The hello world message",
|
|
187
|
+
"examples": [
|
|
188
|
+
"Hello, world!"
|
|
189
|
+
]
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"type": "object",
|
|
193
|
+
"required": [
|
|
194
|
+
"message"
|
|
195
|
+
],
|
|
196
|
+
"title": "HelloWorldResponse",
|
|
197
|
+
"description": "Response model for hello-world endpoint."
|
|
198
|
+
},
|
|
199
|
+
"Utterance": {
|
|
200
|
+
"properties": {
|
|
201
|
+
"utterance": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"minLength": 1,
|
|
204
|
+
"title": "Utterance",
|
|
205
|
+
"description": "The utterance to echo back",
|
|
206
|
+
"examples": [
|
|
207
|
+
"Hello, world!"
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"type": "object",
|
|
212
|
+
"required": [
|
|
213
|
+
"utterance"
|
|
214
|
+
],
|
|
215
|
+
"title": "Utterance",
|
|
216
|
+
"description": "Request model for echo endpoint."
|
|
217
|
+
},
|
|
218
|
+
"ValidationError": {
|
|
219
|
+
"properties": {
|
|
220
|
+
"loc": {
|
|
221
|
+
"items": {
|
|
222
|
+
"anyOf": [
|
|
223
|
+
{
|
|
224
|
+
"type": "string"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"type": "integer"
|
|
228
|
+
}
|
|
229
|
+
]
|
|
230
|
+
},
|
|
231
|
+
"type": "array",
|
|
232
|
+
"title": "Location"
|
|
233
|
+
},
|
|
234
|
+
"msg": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"title": "Message"
|
|
237
|
+
},
|
|
238
|
+
"type": {
|
|
239
|
+
"type": "string",
|
|
240
|
+
"title": "Error Type"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"type": "object",
|
|
244
|
+
"required": [
|
|
245
|
+
"loc",
|
|
246
|
+
"msg",
|
|
247
|
+
"type"
|
|
248
|
+
],
|
|
249
|
+
"title": "ValidationError"
|
|
250
|
+
},
|
|
251
|
+
"_HealthStatus": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"enum": [
|
|
254
|
+
"UP",
|
|
255
|
+
"DOWN"
|
|
256
|
+
],
|
|
257
|
+
"title": "_HealthStatus",
|
|
258
|
+
"description": "Health status enumeration."
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
@@ -29,7 +29,7 @@ extensions = [
|
|
|
29
29
|
project = "oe-python-template"
|
|
30
30
|
author = "Helmut Hoffer von Ankershoffen"
|
|
31
31
|
copyright = f" (c) 2025-{datetime.now(UTC).year}, {author}" # noqa: A001
|
|
32
|
-
version = "0.6.
|
|
32
|
+
version = "0.6.19"
|
|
33
33
|
release = version
|
|
34
34
|
github_username = "helmut-hoffer-von-ankershoffen"
|
|
35
35
|
github_repository = "oe-python-template"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "oe-python-template"
|
|
3
|
-
version = "0.6.
|
|
3
|
+
version = "0.6.19"
|
|
4
4
|
description = "🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [
|
|
@@ -242,7 +242,7 @@ source = ["src/"]
|
|
|
242
242
|
|
|
243
243
|
|
|
244
244
|
[tool.bumpversion]
|
|
245
|
-
current_version = "0.6.
|
|
245
|
+
current_version = "0.6.19"
|
|
246
246
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
247
247
|
serialize = ["{major}.{minor}.{patch}"]
|
|
248
248
|
search = "{current_version}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
sonar.projectKey=helmut-hoffer-von-ankershoffen_oe-python-template
|
|
2
2
|
sonar.organization=helmut-hoffer-von-ankershoffen
|
|
3
|
-
sonar.projectVersion=0.6.
|
|
3
|
+
sonar.projectVersion=0.6.19
|
|
4
4
|
sonar.projectDescription=🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling.
|
|
5
5
|
sonar.links.homepage=https://oe-python-template.readthedocs.io/en/latest/
|
|
6
6
|
sonar.links.scm=https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template
|
|
@@ -21,18 +21,18 @@ jobs:
|
|
|
21
21
|
id-token: write
|
|
22
22
|
steps:
|
|
23
23
|
- name: Checkout
|
|
24
|
-
uses: actions/checkout@v4
|
|
24
|
+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
25
25
|
|
|
26
26
|
- name: Set up QEMU
|
|
27
|
-
uses: docker/setup-qemu-action@v3
|
|
27
|
+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
|
|
28
28
|
|
|
29
29
|
- name: Set up Docker Buildx
|
|
30
|
-
uses: docker/setup-buildx-action@v3
|
|
30
|
+
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
{% if docker_io_enabled %}
|
|
34
34
|
- name: Log in to Docker Hub
|
|
35
|
-
uses: docker/login-action@v3
|
|
35
|
+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
|
|
36
36
|
with:
|
|
37
37
|
{% raw %}
|
|
38
38
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
@@ -41,7 +41,7 @@ jobs:
|
|
|
41
41
|
{% endif %}
|
|
42
42
|
|
|
43
43
|
- name: Log in to GitHub container registry
|
|
44
|
-
uses: docker/login-action@v3
|
|
44
|
+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
|
|
45
45
|
with:
|
|
46
46
|
registry: ghcr.io
|
|
47
47
|
{% raw %}
|
|
@@ -51,7 +51,7 @@ jobs:
|
|
|
51
51
|
|
|
52
52
|
- name: Extract metadata (tags, labels) for Docker
|
|
53
53
|
id: meta
|
|
54
|
-
uses: docker/metadata-action@v5
|
|
54
|
+
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
|
|
55
55
|
with:
|
|
56
56
|
{% if docker_io_enabled %}
|
|
57
57
|
{% raw %}
|
|
@@ -78,7 +78,7 @@ jobs:
|
|
|
78
78
|
{% raw %}
|
|
79
79
|
- name: Build and push Docker image
|
|
80
80
|
id: push
|
|
81
|
-
uses: docker/build-push-action@v6
|
|
81
|
+
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
|
|
82
82
|
with:
|
|
83
83
|
context: .
|
|
84
84
|
file: ./Dockerfile
|
|
@@ -91,7 +91,7 @@ jobs:
|
|
|
91
91
|
{% if docker_io_enabled %}
|
|
92
92
|
{% raw %}
|
|
93
93
|
- name: Generate artifact attestation
|
|
94
|
-
uses: actions/attest-build-provenance@v2
|
|
94
|
+
uses: actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # v2.2.3
|
|
95
95
|
with:
|
|
96
96
|
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
97
97
|
subject-digest: ${{ steps.push.outputs.digest }}
|
|
@@ -15,12 +15,12 @@ jobs:
|
|
|
15
15
|
packages: read
|
|
16
16
|
steps:
|
|
17
17
|
- name: Checkout
|
|
18
|
-
uses: actions/checkout@v4
|
|
18
|
+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
19
19
|
with:
|
|
20
20
|
fetch-depth: 0
|
|
21
21
|
|
|
22
22
|
- name: Generate release notes
|
|
23
|
-
uses: orhun/git-cliff-action@v4
|
|
23
|
+
uses: orhun/git-cliff-action@4a4a951bc43fafe41cd2348d181853f52356bee7 # v4.4.2
|
|
24
24
|
id: git-cliff
|
|
25
25
|
with:
|
|
26
26
|
config: pyproject.toml
|
|
@@ -17,7 +17,7 @@ jobs:
|
|
|
17
17
|
id-token: write
|
|
18
18
|
steps:
|
|
19
19
|
- name: Checkout
|
|
20
|
-
uses: actions/checkout@v4
|
|
20
|
+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
21
21
|
with:
|
|
22
22
|
fetch-depth: 0
|
|
23
23
|
|
|
@@ -30,7 +30,7 @@ jobs:
|
|
|
30
30
|
sudo apt-get install -y curl jq xsltproc gnupg2 libcairo2
|
|
31
31
|
|
|
32
32
|
- name: Install uv (python package manager)
|
|
33
|
-
uses: astral-sh/setup-uv@v5
|
|
33
|
+
uses: astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231 # v5.3.1
|
|
34
34
|
with:
|
|
35
35
|
version: "0.5.9"
|
|
36
36
|
enable-cache: true
|
|
@@ -58,7 +58,7 @@ jobs:
|
|
|
58
58
|
echo "Development build - Current version in pyproject.toml: $TOML_VERSION"
|
|
59
59
|
|
|
60
60
|
- name: Create .env file
|
|
61
|
-
uses: SpicyPizza/create-envfile@v2.0
|
|
61
|
+
uses: SpicyPizza/create-envfile@ace6d4f5d7802b600276c23ca417e669f1a06f6f # v2.0.3
|
|
62
62
|
with:
|
|
63
63
|
envkey_ENV_KEY: "ENV_VALUE"
|
|
64
64
|
fail_on_empty: true
|
|
@@ -80,7 +80,7 @@ jobs:
|
|
|
80
80
|
uv run nox
|
|
81
81
|
|
|
82
82
|
- name: Upload test results
|
|
83
|
-
uses: actions/upload-artifact@v4
|
|
83
|
+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
|
84
84
|
if: {% raw %}${{ always() && (env.GITHUB_WORKFLOW_RUNTIME != 'ACT') }}{% endraw %}
|
|
85
85
|
with:
|
|
86
86
|
name: test-results
|
|
@@ -94,7 +94,7 @@ jobs:
|
|
|
94
94
|
retention-days: 30
|
|
95
95
|
|
|
96
96
|
- name: Upload coverage reports to Codecov
|
|
97
|
-
uses: codecov/codecov-action@v5
|
|
97
|
+
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
|
|
98
98
|
if: {% raw %}${{ !cancelled() && (env.GITHUB_WORKFLOW_RUNTIME != 'ACT') }}{% endraw %}
|
|
99
99
|
with:
|
|
100
100
|
token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %}
|
|
@@ -102,12 +102,12 @@ jobs:
|
|
|
102
102
|
|
|
103
103
|
- name: Upload test results to Codecov
|
|
104
104
|
if: {% raw %}${{ !cancelled() && (env.GITHUB_WORKFLOW_RUNTIME != 'ACT') }}{% endraw %}
|
|
105
|
-
uses: codecov/test-results-action@v1
|
|
105
|
+
uses: codecov/test-results-action@f2dba722c67b86c6caa034178c6e4d35335f6706 # v1.1.0
|
|
106
106
|
with:
|
|
107
107
|
token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %}
|
|
108
108
|
- name: SonarQube Scan
|
|
109
109
|
if: {% raw %}${{ !cancelled() && (env.GITHUB_WORKFLOW_RUNTIME != 'ACT') }}{% endraw %}
|
|
110
|
-
uses: SonarSource/sonarqube-scan-action@v5
|
|
110
|
+
uses: SonarSource/sonarqube-scan-action@0303d6b62e310685c0e34d0b9cde218036885c4d # v5.0.0
|
|
111
111
|
env:
|
|
112
112
|
GITHUB_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
|
|
113
113
|
SONAR_TOKEN: {% raw %}${{ secrets.SONAR_TOKEN }}{% endraw %}
|
|
@@ -20,6 +20,7 @@ fi
|
|
|
20
20
|
which jq &> /dev/null || brew install jq
|
|
21
21
|
which xmllint &> /dev/null || brew install xmllint
|
|
22
22
|
which act &> /dev/null || brew install act
|
|
23
|
+
which pinact &> /dev/null || brew install pinact
|
|
23
24
|
uv run pre-commit install # install pre-commit hooks, see https://pre-commit.com/
|
|
24
25
|
```
|
|
25
26
|
|
|
@@ -130,6 +131,12 @@ docker build -t {{ project_name_kebab_case }} .
|
|
|
130
131
|
docker run --env THE_VAR=THE_VALUE {{ pypi_distribution_name }} --help
|
|
131
132
|
```
|
|
132
133
|
|
|
134
|
+
### Pinning github actions
|
|
135
|
+
|
|
136
|
+
```shell
|
|
137
|
+
pinact run # See https://dev.to/suzukishunsuke/pin-github-actions-to-a-full-length-commit-sha-for-security-2n7p
|
|
138
|
+
```
|
|
139
|
+
|
|
133
140
|
### Copier
|
|
134
141
|
|
|
135
142
|
Update from template
|