Skip to content

Commit a22f778

Browse files
committed
[FIX] ci-workflow update actions for node 24
Forge ID: F#T67639
1 parent d343f7f commit a22f778

9 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/actions/setup-python-env/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ inputs:
1212
runs:
1313
using: "composite"
1414
steps:
15-
- uses: actions/setup-python@v5
15+
- uses: actions/setup-python@v6
1616
with:
1717
python-version: ${{ inputs.python-version }}
1818

1919
- name: Install uv
20-
uses: astral-sh/setup-uv@v6
20+
uses: astral-sh/setup-uv@v7
2121
with:
2222
version: ${{ inputs.uv-version }}
2323
enable-cache: 'true'

.github/workflows/docs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
# Configure GitHub Pages metadata before building
28-
- uses: actions/configure-pages@v5
29-
- uses: actions/checkout@v5
30-
- uses: astral-sh/setup-uv@v6
28+
- uses: actions/configure-pages@v6
29+
- uses: actions/checkout@v6
30+
- uses: astral-sh/setup-uv@v7
3131
# Install dev dependencies (includes zensical)
3232
- run: uv sync --group dev
3333
# Build the docs site into the "site" directory
3434
- run: uv run zensical build --clean
3535
- uses: actions/upload-pages-artifact@v4
3636
with:
3737
path: site
38-
- uses: actions/deploy-pages@v4
38+
- uses: actions/deploy-pages@v5
3939
id: deployment

.github/workflows/e2e.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ jobs:
5555
# Cache the uv binary in GitHub Actions tool-cache so setup-uv
5656
# finds it and skips downloading from GitHub Releases.
5757
- name: Cache uv binary
58-
uses: actions/cache@v4
58+
uses: actions/cache@v5
5959
with:
6060
path: /opt/hostedtoolcache/uv
6161
key: uv-binary-${{ runner.os }}-0.10.8
6262

6363
# Pre-install uv via official action with caching to avoid
6464
# downloading from GitHub Releases on every matrix job.
6565
- name: Install uv
66-
uses: astral-sh/setup-uv@v6
66+
uses: astral-sh/setup-uv@v7
6767
with:
6868
version: "0.10.8"
6969
enable-cache: true
@@ -92,7 +92,7 @@ jobs:
9292
# The key includes the date so the cache is invalidated daily,
9393
# ensuring we always test against a fresh Odoo clone each day.
9494
- name: Cache Odoo ${{ matrix.odoo_version }}
95-
uses: actions/cache@v4
95+
uses: actions/cache@v5
9696
with:
9797
path: ~/code/odoo/odoo/${{ matrix.odoo_version }}
9898
key: odoo-${{ matrix.odoo_version }}-${{ runner.os }}-${{ env.TODAY }}
@@ -101,7 +101,7 @@ jobs:
101101
run: tlc --yes pull-repos
102102

103103
- name: Check out odoo-venv
104-
uses: actions/checkout@v4
104+
uses: actions/checkout@v6
105105

106106
- name: Install odoo-venv
107107
run: uv tool install .
@@ -183,13 +183,13 @@ jobs:
183183
# Cache the uv binary in GitHub Actions tool-cache so setup-uv
184184
# finds it and skips downloading from GitHub Releases.
185185
- name: Cache uv binary
186-
uses: actions/cache@v4
186+
uses: actions/cache@v5
187187
with:
188188
path: /opt/hostedtoolcache/uv
189189
key: uv-binary-${{ runner.os }}-0.10.8
190190

191191
- name: Install uv
192-
uses: astral-sh/setup-uv@v6
192+
uses: astral-sh/setup-uv@v7
193193
with:
194194
version: "0.10.8"
195195
enable-cache: true
@@ -216,7 +216,7 @@ jobs:
216216
# Combined cache for Odoo source + OCA repos.
217217
# Falls back to the Odoo-only cache produced by the test-native job on first run.
218218
- name: Cache repos ${{ matrix.odoo_version }}
219-
uses: actions/cache@v4
219+
uses: actions/cache@v5
220220
with:
221221
path: |
222222
~/code/odoo/odoo/${{ matrix.odoo_version }}
@@ -231,7 +231,7 @@ jobs:
231231
run: tlc --yes pull-repos
232232

233233
- name: Check out odoo-venv
234-
uses: actions/checkout@v4
234+
uses: actions/checkout@v6
235235

236236
- name: Install odoo-venv
237237
run: uv tool install .

.github/workflows/pre-commit.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Check out
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616

17-
- uses: actions/cache@v4
17+
- uses: actions/cache@v5
1818
with:
1919
path: ~/.cache/pre-commit
2020
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424

2525
- name: Checkout Repository on Release Branch
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v6
2727
with:
2828
ref: ${{ github.ref_name }}
2929

@@ -56,7 +56,7 @@ jobs:
5656

5757
steps:
5858
- name: Check out at new tag
59-
uses: actions/checkout@v4
59+
uses: actions/checkout@v6
6060
with:
6161
ref: ${{ needs.release.outputs.tag }}
6262

.github/workflows/test-action-addon-install-failing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: addon install fails → action must fail
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717

1818
- uses: ./
1919
id: run-action

.github/workflows/test-action-addon-success.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: addon installs and tests pass
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717

1818
- uses: ./
1919
with:

.github/workflows/test-action-addon-tests-failing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: addon installs but tests fail → action must fail
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717

1818
- uses: ./
1919
id: run-action

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
shell: bash
2020
steps:
2121
- name: Check out
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v6
2323

2424
- name: Set up the environment
2525
uses: ./.github/actions/setup-python-env

0 commit comments

Comments
 (0)