@@ -90,16 +90,16 @@ jobs:
90
90
- 3306:3306
91
91
92
92
steps :
93
- - uses : actions/checkout@v3
94
- with :
95
- submodules : recursive
96
-
97
93
#
98
94
# setup
99
95
#
96
+ - name : " setup: checkout ${{ github.repository }}"
97
+ uses : actions/checkout@latest
98
+ with :
99
+ submodules : recursive
100
100
101
101
- name : " setup: cmake & ninja"
102
- uses : lukka/get-cmake@v3.25.2 # workaround for node 20 issue
102
+ uses : lukka/get-cmake@latest
103
103
with :
104
104
cmakeVersion : " ${{ env.CMAKE_VERSION }}"
105
105
@@ -317,13 +317,21 @@ jobs:
317
317
PATH : " /opt/python/cp311-cp311/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/github/home/.cargo/bin:/opt/mssql-tools/bin"
318
318
319
319
steps :
320
- - uses : actions/checkout@v3
321
- with :
322
- submodules : recursive
323
-
324
320
#
325
321
# setup
326
322
#
323
+
324
+ # actions/checkout uses Node. Node uses GLIBC. GLIBC is very old on manylinux and Node doesn't like it. Avoid using actions/checkout.
325
+ - name : " setup: checkout ${{ github.repository }}"
326
+ run : |
327
+ git config --global --add safe.directory $(pwd)
328
+ git init
329
+ git remote add origin https://github.com/${{ github.repository }}.git
330
+ git fetch --depth 1 origin ${GITHUB_SHA}
331
+ git checkout FETCH_HEAD
332
+ git submodule update --init --recursive
333
+
334
+ # lukka/get-cmake uses Node... avoid using it.
327
335
- name : " setup: cmake & ninja"
328
336
uses : lukka/get-cmake@v3.25.2 # workaround for node 20 issue
329
337
with :
@@ -604,7 +612,8 @@ jobs:
604
612
command -v kart
605
613
kart --version
606
614
607
- - uses : actions/checkout@v3
615
+ - name : " Checkout ${{ github.repository }}"
616
+ uses : actions/checkout@latest
608
617
609
618
- name : e2e test (no helper)
610
619
env :
@@ -643,10 +652,6 @@ jobs:
643
652
PY_VER_ID : " cp311-cp311"
644
653
645
654
steps :
646
- - uses : actions/checkout@v3
647
- with :
648
- submodules : recursive
649
-
650
655
#
651
656
# setup
652
657
#
@@ -780,13 +785,13 @@ jobs:
780
785
PY_VER_INSTALLER : " https://www.python.org/ftp/python/3.11.6/python-3.11.6-macos11.pkg"
781
786
782
787
steps :
783
- - uses : actions/checkout@v3
784
- with :
785
- submodules : recursive
786
-
787
788
#
788
789
# setup
789
790
#
791
+ - name : " setup: checkout ${{ github.repository }}"
792
+ uses : actions/checkout@latest
793
+ with :
794
+ submodules : recursive
790
795
791
796
- uses : maxim-lobanov/setup-xcode@v1
792
797
with :
@@ -1038,12 +1043,14 @@ jobs:
1038
1043
)
1039
1044
1040
1045
steps :
1041
- - uses : actions/checkout@v3
1046
+ #
1047
+ # setup
1048
+ #
1049
+ - name : " setup: checkout ${{ github.repository }}"
1050
+ uses : actions/checkout@latest
1042
1051
with :
1043
1052
submodules : recursive
1044
1053
1045
- # Setup
1046
-
1047
1054
- name : " msvc setup"
1048
1055
uses : ilammy/msvc-dev-cmd@v1
1049
1056
0 commit comments