Skip to content

Commit 4434601

Browse files
committed
[CI] Allow use of Node 16
We build and test on our Docker image, which is based on the ASWF VFX Reference Platform 2022 image, whose glibc version is rather old. This makes it incompatible with Node 20. We have been holding back the version of `actions/checkout` to ensure Node 16 was still used. However, GitHub have started forcing Node 20 regardless. See https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ That link gives a way to buy more time on Node 16 via a `ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION` env var. Signed-off-by: David Feltell <[email protected]>
1 parent 6a6160f commit 4434601

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ name: Test
77
on:
88
pull_request:
99

10+
env:
11+
# Buy some more time to use the deprecated Node 16 (needed for GLIBC
12+
# version)
13+
# Upgrading to the CY23 Docker images will solve this longer term. See
14+
# https://github.com/OpenAssetIO/OpenAssetIO/issues/984#issuecomment-2210792734
15+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
16+
1017
concurrency:
1118
group: ${{ github.workflow }}-${{ github.ref }}
1219
cancel-in-progress: true

0 commit comments

Comments
 (0)