Skip to content

Commit fed7c8e

Browse files
chore(ci): migrate all workflows to node 24 (#6202)
1 parent 5fc2a79 commit fed7c8e

10 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/actions/create-jira-ticket/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ runs:
2424
steps:
2525
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2626

27-
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
27+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2828
with:
29-
node-version: 20
29+
node-version: 24
3030

3131
- name: Get ticket elements from context
3232
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0

.github/actions/package-delivery/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ runs:
8383
key: ${{ inputs.cache_key }}
8484
fail-on-cache-miss: true
8585

86-
- uses: jfrog/setup-jfrog-cli@9fe0f98bd45b19e6e931d457f4e98f8f84461fb5 # v4.4.1
86+
- uses: jfrog/setup-jfrog-cli@1641575d87647fb969c0545f0b6a76873e328b7c # v5.0.0
8787
with:
8888
disable-job-summary: true
8989
disable-auto-build-publish: true

.github/actions/package-nfpm/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ runs:
131131
done
132132
shell: bash
133133

134-
- uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
134+
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
135135
with:
136136
path: ./*.${{ inputs.package_extension }}
137137
key: ${{ inputs.cache_key }}

.github/actions/promote-to-stable/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ inputs:
1717
runs:
1818
using: "composite"
1919
steps:
20-
- uses: jfrog/setup-jfrog-cli@26da2259ee7690e63b5410d7451b2938d08ce1f9 # v4.0.0
20+
- uses: jfrog/setup-jfrog-cli@1641575d87647fb969c0545f0b6a76873e328b7c # v5.0.0
2121
env:
2222
JF_URL: https://centreon.jfrog.io
2323
JF_ACCESS_TOKEN: ${{ inputs.artifactory_token }}

.github/workflows/as400.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
stability: ${{ needs.get-environment.outputs.stability }}
119119

120120
- name: Save to cache
121-
uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
121+
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
122122
with:
123123
path: ./*.${{ matrix.package_extension }}
124124
key: ${{ github.sha }}-${{ github.run_id }}-${{ matrix.package_extension }}-${{ matrix.distrib }}

.github/workflows/perl-cpan-libraries.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ jobs:
282282
- run: rpmsign --addsign ./*.rpm
283283
shell: bash
284284

285-
- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
285+
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
286286
with:
287287
path: ./*.rpm
288288
key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
@@ -426,7 +426,7 @@ jobs:
426426
name: packages-deb-${{ matrix.distrib }}
427427
path: ./
428428

429-
- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
429+
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
430430
with:
431431
path: ./*.deb
432432
key: ${{ github.sha }}-${{ github.run_id }}-deb-${{ matrix.distrib }}

.github/workflows/perl-filesys-smbclient.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
cp -r ~/rpmbuild/RPMS/x86_64/*.rpm .
7070
shell: bash
7171
72-
- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
72+
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
7373
with:
7474
path: ./*.rpm
7575
key: unsigned-${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
@@ -116,7 +116,7 @@ jobs:
116116
- run: rpmsign --addsign ./*.rpm
117117
shell: bash
118118

119-
- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
119+
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
120120
with:
121121
path: ./*.rpm
122122
key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
@@ -168,7 +168,7 @@ jobs:
168168
DEB_BUILD_OPTIONS="nocheck nodocs notest noautodbgsym" dh-make-perl make --dist ${{ matrix.distrib }} --verbose --build --version 4.0${{ steps.parse-distrib.outputs.package_distrib_separator }}${{ steps.parse-distrib.outputs.package_distrib_name }} perl-filesys-smbclient/
169169
shell: bash
170170
171-
- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
171+
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
172172
with:
173173
path: ./*.deb
174174
key: ${{ github.sha }}-${{ github.run_id }}-deb-${{ matrix.distrib }}

.github/workflows/perl-openwsman.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ jobs:
245245
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
246246
stability: ${{ needs.get-environment.outputs.stability }}
247247

248-
- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
248+
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
249249
with:
250250
path: ./*.${{ matrix.package_extension }}
251251
key: cache-${{ github.sha }}-${{ matrix.package_extension }}-wsman-${{ matrix.distrib }}-${{ matrix.arch }}-${{ github.head_ref || github.ref_name }}

.github/workflows/plink.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
cp -r ~/rpmbuild/RPMS/x86_64/*.rpm .
6464
shell: bash
6565
66-
- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
66+
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
6767
with:
6868
path: ./*.rpm
6969
key: unsigned-${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
@@ -110,7 +110,7 @@ jobs:
110110
- run: rpmsign --addsign ./*.rpm
111111
shell: bash
112112

113-
- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
113+
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
114114
with:
115115
path: ./*.rpm
116116
key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}

.github/workflows/plugins.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
fi
156156
shell: bash
157157

158-
- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
158+
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
159159
with:
160160
path: ./plugins.json
161161
key: plugins-${{ github.sha }}-${{ github.run_id }}
@@ -271,7 +271,7 @@ jobs:
271271
COMMIT=$(git log -1 HEAD --pretty=format:%h)
272272
perl .github/scripts/fatpack-plugins.pl "$(jq -r 'to_entries[] | select(.value.build == true) | .key' plugins.json | tr '\n' ' ')" "$VERSION ($COMMIT)"
273273
274-
- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
274+
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
275275
with:
276276
path: ./build/
277277
key: fatpacked-plugins-${{ github.sha }}-${{ github.run_id }}
@@ -481,7 +481,7 @@ jobs:
481481
if: |
482482
needs.get-environment.outputs.stability == 'stable' &&
483483
github.event_name == 'push'
484-
runs-on: centreon-common
484+
runs-on: ubuntu-24.04
485485

486486
steps:
487487
- name: Checkout sources

0 commit comments

Comments
 (0)