From 5be266a86bd377e68c3a89a6e42da7d6c53a3ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Tue, 19 May 2026 15:09:14 +0200 Subject: [PATCH 01/10] Update shared workflows to use astral-sh/setup-uv@v8.1.0 with built-in caching (#364) --- .github/actions/setup_backend_uv/action.yml | 19 +++++++------------ .github/actions/setup_uv/action.yml | 19 +++++++------------ news/364.internal.md | 1 + 3 files changed, 15 insertions(+), 24 deletions(-) create mode 100644 news/364.internal.md diff --git a/.github/actions/setup_backend_uv/action.yml b/.github/actions/setup_backend_uv/action.yml index e6c28a9a..4bea71e4 100644 --- a/.github/actions/setup_backend_uv/action.yml +++ b/.github/actions/setup_backend_uv/action.yml @@ -19,20 +19,15 @@ runs: using: "composite" steps: - name: Install the latest version of uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v8.1.0 with: python-version: ${{ inputs.python-version }} - enable-cache: false - - - name: Restore uv cache - uses: actions/cache@v4 - with: - path: ${{ env.UV_CACHE_DIR }} - key: uv-${{ runner.os }}-${{ inputs.python-version }}-${{ inputs.plone-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('uv.lock') }} - restore-keys: | - uv-${{ runner.os }}-${{ inputs.python-version }}-${{ inputs.plone-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('uv.lock') }} - uv-${{ runner.os }}-${{ inputs.python-version }}-${{ inputs.plone-version }}-${{ hashFiles('pyproject.toml') }} - uv-${{ runner.os }}-${{ inputs.python-version }}-${{ inputs.plone-version }} + cache-python: true + enable-cache: true + cache-suffix: "optional-suffix" + cache-dependency-glob: | + **/pyproject.toml + **/uv.lock - name: Install codebase working-directory: ${{ inputs.working-directory }} diff --git a/.github/actions/setup_uv/action.yml b/.github/actions/setup_uv/action.yml index 6ba977f0..b5385116 100644 --- a/.github/actions/setup_uv/action.yml +++ b/.github/actions/setup_uv/action.yml @@ -15,17 +15,12 @@ runs: using: "composite" steps: - name: Install the latest version of uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v8.1.0 with: python-version: ${{ inputs.python-version }} - enable-cache: false - - - name: Restore uv cache - uses: actions/cache@v4 - with: - path: ${{ env.UV_CACHE_DIR }} - key: uv-${{ runner.os }}-${{ inputs.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('uv.lock') }} - restore-keys: | - uv-${{ runner.os }}-${{ inputs.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('uv.lock') }} - uv-${{ runner.os }}-${{ inputs.python-version }}-${{ hashFiles('pyproject.toml') }} - uv-${{ runner.os }}-${{ inputs.python-version }} + cache-python: true + enable-cache: true + cache-suffix: "optional-suffix" + cache-dependency-glob: | + **/pyproject.toml + **/uv.lock diff --git a/news/364.internal.md b/news/364.internal.md new file mode 100644 index 00000000..9f3211c9 --- /dev/null +++ b/news/364.internal.md @@ -0,0 +1 @@ +Updated shared workflows and actions to use astral-sh/setup-uv@v8.1.0 with built-in caching. @ericof From 6bf122406c35120002e73aa678ecbac951ff516d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Tue, 19 May 2026 15:09:19 +0200 Subject: [PATCH 02/10] Update setup_frontend action to use actions/setup-node@v6.4.0 with built-in pnpm caching --- .github/actions/setup_frontend/action.yml | 26 ++++++++++------------- news/+4c820801.internal.md | 1 + 2 files changed, 12 insertions(+), 15 deletions(-) create mode 100644 news/+4c820801.internal.md diff --git a/.github/actions/setup_frontend/action.yml b/.github/actions/setup_frontend/action.yml index b6324031..66ce82b8 100644 --- a/.github/actions/setup_frontend/action.yml +++ b/.github/actions/setup_frontend/action.yml @@ -10,14 +10,24 @@ inputs: description: 'Working directory to use' required: false default: '.' + cache: + description: 'Cache type to use' + required: false + default: 'pnpm' + cache-dependency-path: + description: 'Cache dependency path' + required: false + default: '**/pnpm-lock.yaml' runs: using: "composite" steps: - name: Use Node.js ${{ inputs.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6.4.0 with: node-version: ${{ inputs.node-version }} + cache: '${{ inputs.cache }}' + cache-dependency-path: '${{ inputs.cache-dependency-path }}' - name: Enable corepack working-directory: ${{ inputs.working-directory }} @@ -26,20 +36,6 @@ runs: npm i -g corepack@latest corepack enable - - name: Get pnpm store directory - working-directory: ${{ inputs.working-directory }} - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - - uses: actions/cache@v4 - name: Setup pnpm cache - with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - name: Install project dependencies working-directory: ${{ inputs.working-directory }} shell: bash diff --git a/news/+4c820801.internal.md b/news/+4c820801.internal.md new file mode 100644 index 00000000..07ecbd5e --- /dev/null +++ b/news/+4c820801.internal.md @@ -0,0 +1 @@ +Updated setup_frontend action to use actions/setup-node@v6.4.0 with built-in pnpm caching. @ericof From f00c900d74a75dbf4866736e72d6e7bd08755229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Tue, 19 May 2026 15:09:29 +0200 Subject: [PATCH 03/10] Bump default Plone version in setup_backend_uv action to 6.2.0 --- .github/actions/setup_backend_uv/action.yml | 2 +- news/+e0ec305c.feature.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/+e0ec305c.feature.md diff --git a/.github/actions/setup_backend_uv/action.yml b/.github/actions/setup_backend_uv/action.yml index 4bea71e4..efe7e41a 100644 --- a/.github/actions/setup_backend_uv/action.yml +++ b/.github/actions/setup_backend_uv/action.yml @@ -9,7 +9,7 @@ inputs: plone-version: description: 'Plone Version' required: true - default: '6.1.1' + default: '6.2.0' working-directory: description: 'Working directory to use' required: false diff --git a/news/+e0ec305c.feature.md b/news/+e0ec305c.feature.md new file mode 100644 index 00000000..18b8a719 --- /dev/null +++ b/news/+e0ec305c.feature.md @@ -0,0 +1 @@ +Bumped default Plone version in setup_backend_uv action from 6.1.1 to 6.2.0. @ericof From ae5cac8383798641a06c5ca071b41ad4aa22df27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Tue, 19 May 2026 15:13:36 +0200 Subject: [PATCH 04/10] =?UTF-8?q?TEMP:=20point=20shared=20workflows=20and?= =?UTF-8?q?=20docs=20to=20issue-364=20branch=20for=20CI=20testing=20?= =?UTF-8?q?=E2=80=94=20revert=20before=20PR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/backend-lint.yml | 2 +- .github/workflows/backend-pytest-coverage.yml | 2 +- .github/workflows/backend-pytest.yml | 2 +- .github/workflows/docs-build.yml | 2 +- .github/workflows/frontend-acceptance.yml | 4 ++-- .github/workflows/frontend-code.yml | 4 ++-- .github/workflows/frontend-i18n.yml | 4 ++-- .github/workflows/frontend-storybook.yml | 4 ++-- .github/workflows/frontend-unit.yml | 4 ++-- docs/sources/reference/shared-workflows.md | 6 +++--- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/backend-lint.yml b/.github/workflows/backend-lint.yml index 09eb78a2..3a819b4e 100644 --- a/.github/workflows/backend-lint.yml +++ b/.github/workflows/backend-lint.yml @@ -48,7 +48,7 @@ jobs: uses: actions/checkout@v6 - name: Setup codebase - uses: plone/meta/.github/actions/setup_backend_uv@2.x + uses: plone/meta/.github/actions/setup_backend_uv@issue-364 with: python-version: ${{ inputs.python-version }} plone-version: ${{ inputs.plone-version }} diff --git a/.github/workflows/backend-pytest-coverage.yml b/.github/workflows/backend-pytest-coverage.yml index ad67f6ae..17dcc98c 100644 --- a/.github/workflows/backend-pytest-coverage.yml +++ b/.github/workflows/backend-pytest-coverage.yml @@ -30,7 +30,7 @@ jobs: uses: actions/checkout@v6 - name: Setup codebase - uses: plone/meta/.github/actions/setup_backend_uv@2.x + uses: plone/meta/.github/actions/setup_backend_uv@issue-364 with: python-version: ${{ inputs.python-version }} plone-version: ${{ inputs.plone-version }} diff --git a/.github/workflows/backend-pytest.yml b/.github/workflows/backend-pytest.yml index 8bb031d9..eef34faf 100644 --- a/.github/workflows/backend-pytest.yml +++ b/.github/workflows/backend-pytest.yml @@ -30,7 +30,7 @@ jobs: uses: actions/checkout@v6 - name: Setup codebase - uses: plone/meta/.github/actions/setup_backend_uv@2.x + uses: plone/meta/.github/actions/setup_backend_uv@issue-364 with: python-version: ${{ inputs.python-version }} plone-version: ${{ inputs.plone-version }} diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index ecbd0220..3a04cc9e 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v6 - name: Setup uv - uses: plone/meta/.github/actions/setup_uv@2.x + uses: plone/meta/.github/actions/setup_uv@issue-364 with: python-version: ${{ inputs.python-version }} working-directory: ${{ inputs.working-directory }} diff --git a/.github/workflows/frontend-acceptance.yml b/.github/workflows/frontend-acceptance.yml index ff08f785..b8a7ff58 100644 --- a/.github/workflows/frontend-acceptance.yml +++ b/.github/workflows/frontend-acceptance.yml @@ -25,11 +25,11 @@ jobs: - name: Main checkout uses: actions/checkout@v6 - name: Setup uv - uses: plone/meta/.github/actions/setup_uv@2.x + uses: plone/meta/.github/actions/setup_uv@issue-364 with: working-directory: ${{ inputs.working-directory }} - name: Setup codebase - uses: plone/meta/.github/actions/setup_frontend@2.x + uses: plone/meta/.github/actions/setup_frontend@issue-364 with: node-version: ${{ inputs.node-version }} working-directory: ${{ inputs.working-directory }} diff --git a/.github/workflows/frontend-code.yml b/.github/workflows/frontend-code.yml index 3bf2f71f..ac5b5d16 100644 --- a/.github/workflows/frontend-code.yml +++ b/.github/workflows/frontend-code.yml @@ -23,12 +23,12 @@ jobs: uses: actions/checkout@v6 - name: Setup uv - uses: plone/meta/.github/actions/setup_uv@2.x + uses: plone/meta/.github/actions/setup_uv@issue-364 with: working-directory: ${{ inputs.working-directory }} - name: Setup codebase - uses: plone/meta/.github/actions/setup_frontend@2.x + uses: plone/meta/.github/actions/setup_frontend@issue-364 with: node-version: ${{ inputs.node-version }} working-directory: ${{ inputs.working-directory }} diff --git a/.github/workflows/frontend-i18n.yml b/.github/workflows/frontend-i18n.yml index c17f6f4b..96334a9b 100644 --- a/.github/workflows/frontend-i18n.yml +++ b/.github/workflows/frontend-i18n.yml @@ -23,11 +23,11 @@ jobs: uses: actions/checkout@v6 - name: Setup uv - uses: plone/meta/.github/actions/setup_uv@2.x + uses: plone/meta/.github/actions/setup_uv@issue-364 with: working-directory: ${{ inputs.working-directory }} - name: Setup codebase - uses: plone/meta/.github/actions/setup_frontend@2.x + uses: plone/meta/.github/actions/setup_frontend@issue-364 with: node-version: ${{ inputs.node-version }} working-directory: ${{ inputs.working-directory }} diff --git a/.github/workflows/frontend-storybook.yml b/.github/workflows/frontend-storybook.yml index 344c489f..eceb2fd2 100644 --- a/.github/workflows/frontend-storybook.yml +++ b/.github/workflows/frontend-storybook.yml @@ -26,12 +26,12 @@ jobs: uses: actions/checkout@v6 - name: Setup uv - uses: plone/meta/.github/actions/setup_uv@2.x + uses: plone/meta/.github/actions/setup_uv@issue-364 with: working-directory: ${{ inputs.working-directory }} - name: Setup codebase - uses: plone/meta/.github/actions/setup_frontend@2.x + uses: plone/meta/.github/actions/setup_frontend@issue-364 with: node-version: ${{ inputs.node-version }} working-directory: ${{ inputs.working-directory }} diff --git a/.github/workflows/frontend-unit.yml b/.github/workflows/frontend-unit.yml index a0ad4e01..681afdd6 100644 --- a/.github/workflows/frontend-unit.yml +++ b/.github/workflows/frontend-unit.yml @@ -23,12 +23,12 @@ jobs: uses: actions/checkout@v6 - name: Setup uv - uses: plone/meta/.github/actions/setup_uv@2.x + uses: plone/meta/.github/actions/setup_uv@issue-364 with: working-directory: ${{ inputs.working-directory }} - name: Setup codebase - uses: plone/meta/.github/actions/setup_frontend@2.x + uses: plone/meta/.github/actions/setup_frontend@issue-364 with: node-version: ${{ inputs.node-version }} working-directory: ${{ inputs.working-directory }} diff --git a/docs/sources/reference/shared-workflows.md b/docs/sources/reference/shared-workflows.md index b4913bae..aa5c69e2 100644 --- a/docs/sources/reference/shared-workflows.md +++ b/docs/sources/reference/shared-workflows.md @@ -33,7 +33,7 @@ Sets up a Python backend environment using [uv](https://docs.astral.sh/uv/) as t ```yaml steps: - uses: actions/checkout@v6 - - uses: plone/meta/.github/actions/setup_backend_uv@2.x + - uses: plone/meta/.github/actions/setup_backend_uv@issue-364 with: python-version: "3.13" ``` @@ -53,7 +53,7 @@ Sets up a Node.js frontend environment with dependency installation. ```yaml steps: - uses: actions/checkout@v6 - - uses: plone/meta/.github/actions/setup_frontend@2.x + - uses: plone/meta/.github/actions/setup_frontend@issue-364 with: node-version: "22.x" ``` @@ -73,7 +73,7 @@ Sets up the [uv](https://docs.astral.sh/uv/) package installer. ```yaml steps: - uses: actions/checkout@v6 - - uses: plone/meta/.github/actions/setup_uv@2.x + - uses: plone/meta/.github/actions/setup_uv@issue-364 ``` ## Backend Workflows From 77f9db1f8c965b7f3ba63b53a2c49dc3ccac92bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Tue, 19 May 2026 15:36:37 +0200 Subject: [PATCH 05/10] Wire pnpm cache after corepack enables pnpm in setup_frontend action --- .github/actions/setup_frontend/action.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup_frontend/action.yml b/.github/actions/setup_frontend/action.yml index 66ce82b8..4fb4019f 100644 --- a/.github/actions/setup_frontend/action.yml +++ b/.github/actions/setup_frontend/action.yml @@ -26,8 +26,6 @@ runs: uses: actions/setup-node@v6.4.0 with: node-version: ${{ inputs.node-version }} - cache: '${{ inputs.cache }}' - cache-dependency-path: '${{ inputs.cache-dependency-path }}' - name: Enable corepack working-directory: ${{ inputs.working-directory }} @@ -36,6 +34,13 @@ runs: npm i -g corepack@latest corepack enable + - name: Cache for node version ${{ inputs.node-version }} + uses: actions/setup-node@v6.4.0 + with: + node-version: ${{ inputs.node-version }} + cache: '${{ inputs.cache }}' + cache-dependency-path: '${{ inputs.cache-dependency-path }}' + - name: Install project dependencies working-directory: ${{ inputs.working-directory }} shell: bash From a6b0998ad8906831a746a96f92789b772dea4a9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Tue, 19 May 2026 15:45:53 +0200 Subject: [PATCH 06/10] Resolve pnpm-lock.yaml relative to working-directory in setup_frontend action --- .github/actions/setup_frontend/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup_frontend/action.yml b/.github/actions/setup_frontend/action.yml index 4fb4019f..a57ce8ab 100644 --- a/.github/actions/setup_frontend/action.yml +++ b/.github/actions/setup_frontend/action.yml @@ -17,7 +17,7 @@ inputs: cache-dependency-path: description: 'Cache dependency path' required: false - default: '**/pnpm-lock.yaml' + default: 'pnpm-lock.yaml' runs: using: "composite" @@ -39,7 +39,7 @@ runs: with: node-version: ${{ inputs.node-version }} cache: '${{ inputs.cache }}' - cache-dependency-path: '${{ inputs.cache-dependency-path }}' + cache-dependency-path: '${{ inputs.working-directory }}/${{ inputs.cache-dependency-path }}' - name: Install project dependencies working-directory: ${{ inputs.working-directory }} From d2432c50b773fbe584239f30ae6be0f013ff7a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Tue, 19 May 2026 16:04:18 +0200 Subject: [PATCH 07/10] Pin pnpm store-dir to PNPM_CACHE_FOLDER so setup-node cache matches the corepack-installed pnpm --- .github/actions/setup_frontend/action.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup_frontend/action.yml b/.github/actions/setup_frontend/action.yml index a57ce8ab..6096d0c5 100644 --- a/.github/actions/setup_frontend/action.yml +++ b/.github/actions/setup_frontend/action.yml @@ -17,7 +17,7 @@ inputs: cache-dependency-path: description: 'Cache dependency path' required: false - default: 'pnpm-lock.yaml' + default: '**/pnpm-lock.yaml' runs: using: "composite" @@ -39,7 +39,11 @@ runs: with: node-version: ${{ inputs.node-version }} cache: '${{ inputs.cache }}' - cache-dependency-path: '${{ inputs.working-directory }}/${{ inputs.cache-dependency-path }}' + cache-dependency-path: '${{ inputs.cache-dependency-path }}' + + - name: Setup pnpm store config + shell: bash + run: pnpm config set store-dir $PNPM_CACHE_FOLDER - name: Install project dependencies working-directory: ${{ inputs.working-directory }} From 1e8469607fb5a269f63434a3e4be85d0d6b0639a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Tue, 19 May 2026 16:10:43 +0200 Subject: [PATCH 08/10] Use PNPM_STORE_PATH (the var setup-node exports) for pnpm store-dir alignment --- .github/actions/setup_frontend/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup_frontend/action.yml b/.github/actions/setup_frontend/action.yml index 6096d0c5..453a08ed 100644 --- a/.github/actions/setup_frontend/action.yml +++ b/.github/actions/setup_frontend/action.yml @@ -43,7 +43,7 @@ runs: - name: Setup pnpm store config shell: bash - run: pnpm config set store-dir $PNPM_CACHE_FOLDER + run: pnpm config set store-dir "$PNPM_STORE_PATH" - name: Install project dependencies working-directory: ${{ inputs.working-directory }} From 8044a90d0ecd18a4fd2c5a5e27009165a54967ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Tue, 19 May 2026 16:33:10 +0200 Subject: [PATCH 09/10] Activate project's pnpm via corepack before setup-node cache resolves the store path --- .github/actions/setup_frontend/action.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/actions/setup_frontend/action.yml b/.github/actions/setup_frontend/action.yml index 453a08ed..b4e75568 100644 --- a/.github/actions/setup_frontend/action.yml +++ b/.github/actions/setup_frontend/action.yml @@ -33,6 +33,7 @@ runs: run: | npm i -g corepack@latest corepack enable + corepack prepare --activate - name: Cache for node version ${{ inputs.node-version }} uses: actions/setup-node@v6.4.0 @@ -41,10 +42,6 @@ runs: cache: '${{ inputs.cache }}' cache-dependency-path: '${{ inputs.cache-dependency-path }}' - - name: Setup pnpm store config - shell: bash - run: pnpm config set store-dir "$PNPM_STORE_PATH" - - name: Install project dependencies working-directory: ${{ inputs.working-directory }} shell: bash From cf677ca8766d63d97a88c1b7ad4783db24de7e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Tue, 19 May 2026 16:45:41 +0200 Subject: [PATCH 10/10] =?UTF-8?q?Revert=20"TEMP:=20point=20shared=20workfl?= =?UTF-8?q?ows=20and=20docs=20to=20issue-364=20branch=20for=20CI=20testing?= =?UTF-8?q?=20=E2=80=94=20revert=20before=20PR"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ae5cac8383798641a06c5ca071b41ad4aa22df27. --- .github/workflows/backend-lint.yml | 2 +- .github/workflows/backend-pytest-coverage.yml | 2 +- .github/workflows/backend-pytest.yml | 2 +- .github/workflows/docs-build.yml | 2 +- .github/workflows/frontend-acceptance.yml | 4 ++-- .github/workflows/frontend-code.yml | 4 ++-- .github/workflows/frontend-i18n.yml | 4 ++-- .github/workflows/frontend-storybook.yml | 4 ++-- .github/workflows/frontend-unit.yml | 4 ++-- docs/sources/reference/shared-workflows.md | 6 +++--- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/backend-lint.yml b/.github/workflows/backend-lint.yml index 3a819b4e..09eb78a2 100644 --- a/.github/workflows/backend-lint.yml +++ b/.github/workflows/backend-lint.yml @@ -48,7 +48,7 @@ jobs: uses: actions/checkout@v6 - name: Setup codebase - uses: plone/meta/.github/actions/setup_backend_uv@issue-364 + uses: plone/meta/.github/actions/setup_backend_uv@2.x with: python-version: ${{ inputs.python-version }} plone-version: ${{ inputs.plone-version }} diff --git a/.github/workflows/backend-pytest-coverage.yml b/.github/workflows/backend-pytest-coverage.yml index 17dcc98c..ad67f6ae 100644 --- a/.github/workflows/backend-pytest-coverage.yml +++ b/.github/workflows/backend-pytest-coverage.yml @@ -30,7 +30,7 @@ jobs: uses: actions/checkout@v6 - name: Setup codebase - uses: plone/meta/.github/actions/setup_backend_uv@issue-364 + uses: plone/meta/.github/actions/setup_backend_uv@2.x with: python-version: ${{ inputs.python-version }} plone-version: ${{ inputs.plone-version }} diff --git a/.github/workflows/backend-pytest.yml b/.github/workflows/backend-pytest.yml index eef34faf..8bb031d9 100644 --- a/.github/workflows/backend-pytest.yml +++ b/.github/workflows/backend-pytest.yml @@ -30,7 +30,7 @@ jobs: uses: actions/checkout@v6 - name: Setup codebase - uses: plone/meta/.github/actions/setup_backend_uv@issue-364 + uses: plone/meta/.github/actions/setup_backend_uv@2.x with: python-version: ${{ inputs.python-version }} plone-version: ${{ inputs.plone-version }} diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index 3a04cc9e..ecbd0220 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v6 - name: Setup uv - uses: plone/meta/.github/actions/setup_uv@issue-364 + uses: plone/meta/.github/actions/setup_uv@2.x with: python-version: ${{ inputs.python-version }} working-directory: ${{ inputs.working-directory }} diff --git a/.github/workflows/frontend-acceptance.yml b/.github/workflows/frontend-acceptance.yml index b8a7ff58..ff08f785 100644 --- a/.github/workflows/frontend-acceptance.yml +++ b/.github/workflows/frontend-acceptance.yml @@ -25,11 +25,11 @@ jobs: - name: Main checkout uses: actions/checkout@v6 - name: Setup uv - uses: plone/meta/.github/actions/setup_uv@issue-364 + uses: plone/meta/.github/actions/setup_uv@2.x with: working-directory: ${{ inputs.working-directory }} - name: Setup codebase - uses: plone/meta/.github/actions/setup_frontend@issue-364 + uses: plone/meta/.github/actions/setup_frontend@2.x with: node-version: ${{ inputs.node-version }} working-directory: ${{ inputs.working-directory }} diff --git a/.github/workflows/frontend-code.yml b/.github/workflows/frontend-code.yml index ac5b5d16..3bf2f71f 100644 --- a/.github/workflows/frontend-code.yml +++ b/.github/workflows/frontend-code.yml @@ -23,12 +23,12 @@ jobs: uses: actions/checkout@v6 - name: Setup uv - uses: plone/meta/.github/actions/setup_uv@issue-364 + uses: plone/meta/.github/actions/setup_uv@2.x with: working-directory: ${{ inputs.working-directory }} - name: Setup codebase - uses: plone/meta/.github/actions/setup_frontend@issue-364 + uses: plone/meta/.github/actions/setup_frontend@2.x with: node-version: ${{ inputs.node-version }} working-directory: ${{ inputs.working-directory }} diff --git a/.github/workflows/frontend-i18n.yml b/.github/workflows/frontend-i18n.yml index 96334a9b..c17f6f4b 100644 --- a/.github/workflows/frontend-i18n.yml +++ b/.github/workflows/frontend-i18n.yml @@ -23,11 +23,11 @@ jobs: uses: actions/checkout@v6 - name: Setup uv - uses: plone/meta/.github/actions/setup_uv@issue-364 + uses: plone/meta/.github/actions/setup_uv@2.x with: working-directory: ${{ inputs.working-directory }} - name: Setup codebase - uses: plone/meta/.github/actions/setup_frontend@issue-364 + uses: plone/meta/.github/actions/setup_frontend@2.x with: node-version: ${{ inputs.node-version }} working-directory: ${{ inputs.working-directory }} diff --git a/.github/workflows/frontend-storybook.yml b/.github/workflows/frontend-storybook.yml index eceb2fd2..344c489f 100644 --- a/.github/workflows/frontend-storybook.yml +++ b/.github/workflows/frontend-storybook.yml @@ -26,12 +26,12 @@ jobs: uses: actions/checkout@v6 - name: Setup uv - uses: plone/meta/.github/actions/setup_uv@issue-364 + uses: plone/meta/.github/actions/setup_uv@2.x with: working-directory: ${{ inputs.working-directory }} - name: Setup codebase - uses: plone/meta/.github/actions/setup_frontend@issue-364 + uses: plone/meta/.github/actions/setup_frontend@2.x with: node-version: ${{ inputs.node-version }} working-directory: ${{ inputs.working-directory }} diff --git a/.github/workflows/frontend-unit.yml b/.github/workflows/frontend-unit.yml index 681afdd6..a0ad4e01 100644 --- a/.github/workflows/frontend-unit.yml +++ b/.github/workflows/frontend-unit.yml @@ -23,12 +23,12 @@ jobs: uses: actions/checkout@v6 - name: Setup uv - uses: plone/meta/.github/actions/setup_uv@issue-364 + uses: plone/meta/.github/actions/setup_uv@2.x with: working-directory: ${{ inputs.working-directory }} - name: Setup codebase - uses: plone/meta/.github/actions/setup_frontend@issue-364 + uses: plone/meta/.github/actions/setup_frontend@2.x with: node-version: ${{ inputs.node-version }} working-directory: ${{ inputs.working-directory }} diff --git a/docs/sources/reference/shared-workflows.md b/docs/sources/reference/shared-workflows.md index aa5c69e2..b4913bae 100644 --- a/docs/sources/reference/shared-workflows.md +++ b/docs/sources/reference/shared-workflows.md @@ -33,7 +33,7 @@ Sets up a Python backend environment using [uv](https://docs.astral.sh/uv/) as t ```yaml steps: - uses: actions/checkout@v6 - - uses: plone/meta/.github/actions/setup_backend_uv@issue-364 + - uses: plone/meta/.github/actions/setup_backend_uv@2.x with: python-version: "3.13" ``` @@ -53,7 +53,7 @@ Sets up a Node.js frontend environment with dependency installation. ```yaml steps: - uses: actions/checkout@v6 - - uses: plone/meta/.github/actions/setup_frontend@issue-364 + - uses: plone/meta/.github/actions/setup_frontend@2.x with: node-version: "22.x" ``` @@ -73,7 +73,7 @@ Sets up the [uv](https://docs.astral.sh/uv/) package installer. ```yaml steps: - uses: actions/checkout@v6 - - uses: plone/meta/.github/actions/setup_uv@issue-364 + - uses: plone/meta/.github/actions/setup_uv@2.x ``` ## Backend Workflows