@@ -7,13 +7,6 @@ name: Test
7
7
on :
8
8
pull_request :
9
9
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
-
17
10
concurrency :
18
11
group : ${{ github.workflow }}-${{ github.ref }}
19
12
cancel-in-progress : true
25
18
container :
26
19
image : ghcr.io/openassetio/openassetio-build
27
20
steps :
28
- - uses : actions/checkout@v3
21
+ - uses : actions/checkout@v4
29
22
- name : Build
30
23
uses : ./.github/build_openassetio
31
24
@@ -35,18 +28,18 @@ jobs:
35
28
container :
36
29
image : ghcr.io/openassetio/openassetio-build
37
30
steps :
38
- - uses : actions/checkout@v3
31
+ - uses : actions/checkout@v4
39
32
- name : Build
40
33
uses : ./.github/build_openassetio_mediacreation
41
34
42
35
test-no-submodule :
43
36
name : Test (OpenAssetIO as package, MediaCreation as package)
44
37
runs-on : ubuntu-latest
45
38
container :
46
- image : aswf/ci-vfxall:2022-clang14.3
39
+ image : aswf/ci-base:2024
47
40
needs : [build-openassetio, build-openassetio-mediacreation]
48
41
steps :
49
- - uses : actions/checkout@v3
42
+ - uses : actions/checkout@v4
50
43
51
44
- name : Get OpenAssetIO
52
45
uses : actions/download-artifact@v3
79
72
image : ghcr.io/openassetio/openassetio-build
80
73
needs : [build-openassetio-mediacreation]
81
74
steps :
82
- - uses : actions/checkout@v3
75
+ - uses : actions/checkout@v4
76
+
77
+ # TODO(DF): Remove once fixed upstream. Checkout in a container
78
+ # doesn't use the container's user (appears to use 1001 rather
79
+ # than root 0) and safe.directory setting is not applied properly.
80
+ # So submodule update fails.
81
+ # https://github.com/actions/checkout/issues/1169
82
+ # The check itself was added to git in
83
+ # https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8
84
+ - name : Work around actions/checkout ownership bug
85
+ run : |
86
+ git config --system --add safe.directory $(pwd)
83
87
84
88
- name : Get OpenAssetIO-MediaCreation
85
89
uses : actions/download-artifact@v3
@@ -109,10 +113,21 @@ jobs:
109
113
name : Test (OpenAssetIO as package, MediaCreation as subproject)
110
114
runs-on : ubuntu-latest
111
115
container :
112
- image : aswf/ci-vfxall:2022-clang14.3
116
+ image : aswf/ci-base:2024
113
117
needs : [build-openassetio]
114
118
steps :
115
- - uses : actions/checkout@v3
119
+ - uses : actions/checkout@v4
120
+
121
+ # TODO(DF): Remove once fixed upstream. Checkout in a container
122
+ # doesn't use the container's user (appears to use 1001 rather
123
+ # than root 0) and safe.directory setting is not applied properly.
124
+ # So submodule update fails.
125
+ # https://github.com/actions/checkout/issues/1169
126
+ # The check itself was added to git in
127
+ # https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8
128
+ - name : Work around actions/checkout ownership bug
129
+ run : |
130
+ git config --system --add safe.directory $(pwd)
116
131
117
132
- name : Get OpenAssetIO
118
133
uses : actions/download-artifact@v3
@@ -146,7 +161,18 @@ jobs:
146
161
container :
147
162
image : ghcr.io/openassetio/openassetio-build
148
163
steps :
149
- - uses : actions/checkout@v3
164
+ - uses : actions/checkout@v4
165
+
166
+ # TODO(DF): Remove once fixed upstream. Checkout in a container
167
+ # doesn't use the container's user (appears to use 1001 rather
168
+ # than root 0) and safe.directory setting is not applied properly.
169
+ # So submodule update fails.
170
+ # https://github.com/actions/checkout/issues/1169
171
+ # The check itself was added to git in
172
+ # https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8
173
+ - name : Work around actions/checkout ownership bug
174
+ run : |
175
+ git config --system --add safe.directory $(pwd)
150
176
151
177
- name : Install Traitgen
152
178
run : |
0 commit comments