From cac2b76fe2d8fc099c3bfdaf3bfa9048316ea498 Mon Sep 17 00:00:00 2001 From: Eric Brahmann <37987769+EED85@users.noreply.github.com> Date: Mon, 6 Apr 2026 05:38:58 +0200 Subject: [PATCH 01/10] Update versions of actions checkout from v4 to v6 --- .github/actions/checkout_code/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/checkout_code/action.yml b/.github/actions/checkout_code/action.yml index 30138a9..a8a0c37 100644 --- a/.github/actions/checkout_code/action.yml +++ b/.github/actions/checkout_code/action.yml @@ -44,7 +44,7 @@ runs: steps: - name: Checkout code if: ${{ inputs.execute == 'true' }} - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: ${{ inputs.repository }} ref: ${{ inputs.ref }} From 898d33ec0e384b48f2f735daf57a42c29c97b790 Mon Sep 17 00:00:00 2001 From: Eric Brahmann <37987769+EED85@users.noreply.github.com> Date: Mon, 6 Apr 2026 05:39:46 +0200 Subject: [PATCH 02/10] Update default DuckDB version to v1.5.1 --- .github/actions/install_duckdb/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/install_duckdb/action.yml b/.github/actions/install_duckdb/action.yml index 0d99ee7..18e2935 100644 --- a/.github/actions/install_duckdb/action.yml +++ b/.github/actions/install_duckdb/action.yml @@ -8,7 +8,7 @@ inputs: version: description: 'DuckDB version to install' required: false - default: 'v1.4.1' # 'latest' + default: 'v1.5.1' # 'latest' runs: using: "composite" steps: From 8980a02a1d6715edbf3da1b9190d260db1a2643a Mon Sep 17 00:00:00 2001 From: Eric Brahmann <37987769+EED85@users.noreply.github.com> Date: Mon, 6 Apr 2026 05:41:41 +0200 Subject: [PATCH 03/10] Update uv version and action reference in workflow --- .github/actions/install_uv/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/install_uv/action.yml b/.github/actions/install_uv/action.yml index a1c938a..787a3be 100644 --- a/.github/actions/install_uv/action.yml +++ b/.github/actions/install_uv/action.yml @@ -20,13 +20,13 @@ inputs: version: description: 'Specific version of uv to install if version-file is not provided' required: false - default: '0.8.3' + default: '0.10.12' runs: using: "composite" steps: - name: install uv if: ${{ inputs.execute == 'true' }} - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v8 with: version-file: ${{ inputs.version-file }} python-version: ${{ inputs.python-version }} From 4d937ff83c145d1198f8cf7cef89ac18e04a3b50 Mon Sep 17 00:00:00 2001 From: Eric Brahmann <37987769+EED85@users.noreply.github.com> Date: Mon, 6 Apr 2026 06:16:43 +0200 Subject: [PATCH 04/10] Update action.yml to use custom actions Replaced actions with custom workflows for checkout and UV installation. --- .github/actions/ruff/action.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/actions/ruff/action.yml b/.github/actions/ruff/action.yml index 370eef4..ab5b594 100644 --- a/.github/actions/ruff/action.yml +++ b/.github/actions/ruff/action.yml @@ -18,13 +18,10 @@ runs: steps: - name: Checkout repository if: ${{ inputs.checkout_code == 'true' }} - uses: actions/checkout@v4 + uses: EED-Solutions/eed_gha_workflows/.github/actions/checkout_code@main - name: Install uv if: ${{ inputs.install_uv == 'true' }} - uses: astral-sh/setup-uv@v4 - with: - enable-cache: true - + uses: EED-Solutions/eed_gha_workflows/.github/actions/install_uv@main - name: Set up Ruff if: ${{ inputs.set_up_ruff == 'true' }} uses: astral-sh/ruff-action@v3 From 377a31456acfe530893dd4b0db8c91d58c046eb4 Mon Sep 17 00:00:00 2001 From: Eric Brahmann <37987769+EED85@users.noreply.github.com> Date: Mon, 6 Apr 2026 06:25:54 +0200 Subject: [PATCH 05/10] Refactor GitHub Actions for Python testing workflow --- .github/actions/pytests/action.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/actions/pytests/action.yml b/.github/actions/pytests/action.yml index e0011c2..8d0ace5 100644 --- a/.github/actions/pytests/action.yml +++ b/.github/actions/pytests/action.yml @@ -22,19 +22,15 @@ runs: steps: - name: Checkout code if: ${{ inputs.checkout_code == 'true' }} - uses: actions/checkout@v4 + uses: EED-Solutions/eed_gha_workflows/.github/actions/checkout_code@main - name: Install uv if: ${{ inputs.install_uv == 'true' }} - uses: astral-sh/setup-uv@v6 + uses: EED-Solutions/eed_gha_workflows/.github/actions/install_uv@main with: - enable-cache: true python-version: ${{ inputs.python_version }} - name: Install dependencies if: ${{ inputs.install_dependencies == 'true' }} - shell: bash - run: | - python -m pip install --upgrade pip - uv sync + uses: EED-Solutions/eed_gha_workflows/.github/actions/set_up_py_env@main - name: Run pytests shell: bash run: | From ca3ac8d6c57667528b4edb5fc2aeeac6a63f32cb Mon Sep 17 00:00:00 2001 From: Eric Brahmann <37987769+EED85@users.noreply.github.com> Date: Mon, 6 Apr 2026 06:39:03 +0200 Subject: [PATCH 06/10] Modify action.yml for Python version and input Updated default Python version and added version-file input. --- .github/actions/pytests/action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/pytests/action.yml b/.github/actions/pytests/action.yml index 8d0ace5..09f2a50 100644 --- a/.github/actions/pytests/action.yml +++ b/.github/actions/pytests/action.yml @@ -4,7 +4,11 @@ inputs: python_version: description: 'Python version to use' required: true - default: '3.13' + default: '' + version-file: + description: 'Path to the version file (e.g., pyproject.toml) to install uv from' + required: false + default: '.python-version' checkout_code: description: 'Whether to checkout the code before running tests' required: false @@ -28,6 +32,7 @@ runs: uses: EED-Solutions/eed_gha_workflows/.github/actions/install_uv@main with: python-version: ${{ inputs.python_version }} + version-file: ${{ inputs.version-file }} - name: Install dependencies if: ${{ inputs.install_dependencies == 'true' }} uses: EED-Solutions/eed_gha_workflows/.github/actions/set_up_py_env@main From e9803be3c81d483795c24b176a9b7a585aa65bb6 Mon Sep 17 00:00:00 2001 From: EED85 Date: Mon, 6 Apr 2026 06:54:38 +0200 Subject: [PATCH 07/10] fix encryption passwaord --- .github/actions/install_uv/action.yml | 2 +- .github/actions/pytests/action.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/actions/install_uv/action.yml b/.github/actions/install_uv/action.yml index 787a3be..2cc2f10 100644 --- a/.github/actions/install_uv/action.yml +++ b/.github/actions/install_uv/action.yml @@ -26,7 +26,7 @@ runs: steps: - name: install uv if: ${{ inputs.execute == 'true' }} - uses: astral-sh/setup-uv@v8 + uses: astral-sh/setup-uv@v7 with: version-file: ${{ inputs.version-file }} python-version: ${{ inputs.python-version }} diff --git a/.github/actions/pytests/action.yml b/.github/actions/pytests/action.yml index 09f2a50..10ae604 100644 --- a/.github/actions/pytests/action.yml +++ b/.github/actions/pytests/action.yml @@ -21,6 +21,10 @@ inputs: description: 'Whether to install dependencies before running tests' required: false default: 'true' + encryption_password: + description: 'Encryption password for tests (set from GitHub secret)' + required: false + default: '' runs: using: "composite" steps: @@ -38,5 +42,7 @@ runs: uses: EED-Solutions/eed_gha_workflows/.github/actions/set_up_py_env@main - name: Run pytests shell: bash + env: + ENCRYPTION_PASWORD: ${{ inputs.encryption_password }} run: | uv run --frozen pytest tests From 3ad46edf81514d503a1f4685ad0fe9385903f9d6 Mon Sep 17 00:00:00 2001 From: EED85 Date: Mon, 6 Apr 2026 06:59:19 +0200 Subject: [PATCH 08/10] pass ENCRYPTION_RESULT --- .github/actions/pytests/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/pytests/action.yml b/.github/actions/pytests/action.yml index 10ae604..e03ae61 100644 --- a/.github/actions/pytests/action.yml +++ b/.github/actions/pytests/action.yml @@ -25,6 +25,10 @@ inputs: description: 'Encryption password for tests (set from GitHub secret)' required: false default: '' + encryption_result: + description: '' + required: false + default: '' runs: using: "composite" steps: @@ -44,5 +48,6 @@ runs: shell: bash env: ENCRYPTION_PASWORD: ${{ inputs.encryption_password }} + ENCRYPTION_RESULT: ${{ inputs.encryption_result }} run: | uv run --frozen pytest tests From c2ba5eb6c653a66ae8f63f32b599c8e7baab5eb0 Mon Sep 17 00:00:00 2001 From: EED85 Date: Mon, 6 Apr 2026 07:02:26 +0200 Subject: [PATCH 09/10] pass salt --- .github/actions/pytests/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/pytests/action.yml b/.github/actions/pytests/action.yml index e03ae61..20556dd 100644 --- a/.github/actions/pytests/action.yml +++ b/.github/actions/pytests/action.yml @@ -29,6 +29,10 @@ inputs: description: '' required: false default: '' + encryption_salt: + description: '' + required: false + default: '' runs: using: "composite" steps: @@ -49,5 +53,6 @@ runs: env: ENCRYPTION_PASWORD: ${{ inputs.encryption_password }} ENCRYPTION_RESULT: ${{ inputs.encryption_result }} + ENCRYPTION_SALT: ${{ inputs.encryption_salt }} run: | uv run --frozen pytest tests From 7cade197f751c2721f49a80668ce230b3bdf2b98 Mon Sep 17 00:00:00 2001 From: EED85 Date: Mon, 6 Apr 2026 07:09:55 +0200 Subject: [PATCH 10/10] update other actions --- .github/actions/install_duckdb/action.yml | 2 +- .github/actions/pytests_cov/action.yml | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/actions/install_duckdb/action.yml b/.github/actions/install_duckdb/action.yml index 18e2935..3fcc219 100644 --- a/.github/actions/install_duckdb/action.yml +++ b/.github/actions/install_duckdb/action.yml @@ -14,6 +14,6 @@ runs: steps: - name: install duckdb if: ${{ inputs.install_duckdb == 'true' }} - uses: opt-nc/setup-duckdb-action@v1.1.0 + uses: opt-nc/setup-duckdb-action@v1.2.5 with: version: ${{ inputs.version }} diff --git a/.github/actions/pytests_cov/action.yml b/.github/actions/pytests_cov/action.yml index 7321f86..1a87f4a 100644 --- a/.github/actions/pytests_cov/action.yml +++ b/.github/actions/pytests_cov/action.yml @@ -20,25 +20,27 @@ inputs: python_version: description: 'Python version to use' required: true - default: '3.13' + default: '' + version-file: + description: 'Path to the version file (e.g., pyproject.toml) to install uv from' + required: false + default: '.python-version' runs: using: "composite" steps: - name: Checkout code if: ${{ inputs.checkout_code == 'true' }} - uses: actions/checkout@v4 + uses: EED-Solutions/eed_gha_workflows/.github/actions/checkout_code@main - name: Install uv if: ${{ inputs.install_uv == 'true' }} - uses: astral-sh/setup-uv@v6 + uses: EED-Solutions/eed_gha_workflows/.github/actions/install_uv@main with: enable-cache: true python-version: ${{ inputs.python_version }} + version-file: ${{ inputs.version-file }} - name: Install dependencies if: ${{ inputs.install_dependencies == 'true' }} - shell: bash - run: | - python -m pip install --upgrade pip - uv sync + uses: EED-Solutions/eed_gha_workflows/.github/actions/set_up_py_env@main - name: Run pytests shell: bash run: |