@@ -251,7 +251,11 @@ jobs:
251251
252252 timeout-minutes : 180
253253 runs-on : ${{matrix.os}}
254- container : ${{matrix.container}}
254+ container :
255+ image : ${{matrix.container}}
256+ volumes :
257+ - /node20217:/node20217:rw,rshared
258+ - ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
255259
256260 steps :
257261 - name : Setup environment
@@ -275,9 +279,13 @@ jobs:
275279 fi
276280 apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y sudo software-properties-common tzdata wget curl apt-transport-https ca-certificates make build-essential g++ $PYTHON_PACKAGE python3 perl git cmake
277281 fi
282+ if [[ "${{matrix.container}}" == "ubuntu:1"* ]]; then
283+ # Node 20 doesn't work with Ubuntu 16/18 glibc: https://github.com/actions/checkout/issues/1590
284+ curl -sL https://archives.boost.io/misc/node/node-v20.9.0-linux-x64-glibc-217.tar.xz | tar -xJ --strip-components 1 -C /node20217
285+ fi
278286 fi
279287 git config --global pack.threads 0
280- - uses : actions/checkout@v3
288+ - uses : actions/checkout@v4
281289
282290 - name : Install packages
283291 if : matrix.install
@@ -489,7 +497,7 @@ jobs:
489497 runs-on : ${{matrix.os}}
490498
491499 steps :
492- - uses : actions/checkout@v3
500+ - uses : actions/checkout@v4
493501
494502 - name : Setup Boost
495503 shell : cmd
@@ -533,11 +541,11 @@ jobs:
533541 runs-on : ${{matrix.os}}
534542
535543 steps :
536- - uses : actions/checkout@v3
544+ - uses : actions/checkout@v4
537545
538546 - name : Install packages
539547 if : matrix.install
540- run : sudo apt install ${{matrix.install}}
548+ run : sudo apt-get -y install ${{matrix.install}}
541549
542550 - name : Setup Boost
543551 run : |
@@ -582,7 +590,7 @@ jobs:
582590 runs-on : ${{matrix.os}}
583591
584592 steps :
585- - uses : actions/checkout@v3
593+ - uses : actions/checkout@v4
586594
587595 - name : Install packages
588596 if : matrix.install
@@ -641,7 +649,7 @@ jobs:
641649 runs-on : ${{matrix.os}}
642650
643651 steps :
644- - uses : actions/checkout@v3
652+ - uses : actions/checkout@v4
645653
646654 - name : Install packages
647655 if : matrix.install
@@ -698,7 +706,7 @@ jobs:
698706 runs-on : windows-latest
699707
700708 steps :
701- - uses : actions/checkout@v3
709+ - uses : actions/checkout@v4
702710
703711 - name : Setup MSYS2 environment
704712 uses : msys2/setup-msys2@v2
@@ -709,7 +717,7 @@ jobs:
709717 pacboy : gcc:p cmake:p ninja:p
710718
711719 - name : Fetch Boost.CI
712- uses : actions/checkout@v3
720+ uses : actions/checkout@v4
713721 with :
714722 repository : boostorg/boost-ci
715723 ref : master
0 commit comments