From c7ab947a327162c885965aa317f0f27854d01a78 Mon Sep 17 00:00:00 2001 From: Dirk Stolle Date: Thu, 4 Jul 2024 23:23:51 +0200 Subject: [PATCH 1/2] ci: add workaround for failing container jobs Node.js 20 is not supported in older containers like ubuntu:18.04, but GitHub Actions nowawadays forces the use of Node.js 20, even if the action itself still specified Node.js 16 as the version to use. The result is that e.g. `actions/checkout@v3` fails in the containers, although it should not (because v3 is still specified Node.js 16). See for more information on that forced Node.js version. Fortunately, there still is a workaround to restore the old behaviour, and that is to set a environment variable to allow older Node.js to be used in those actions, and that is what this change does. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8bddcd1b..a76a186f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,7 @@ on: env: LIBRARY: gil UBSAN_OPTIONS: print_stacktrace=1 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true jobs: posix: From d3b77e9649de7a50f496d246ac834c193b7fb4e8 Mon Sep 17 00:00:00 2001 From: Dirk Stolle Date: Thu, 4 Jul 2024 23:42:13 +0200 Subject: [PATCH 2/2] ci: switch from macOS 11 to macOS 12 The runner image for macOS 11 has been removed on 2024-06-28. See for more information on that. So the easiest fix is probably just to move to the next newest version of macOS that is still avaiable for GHA. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a76a186f9..492b21d1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,7 +84,7 @@ jobs: os: ubuntu-20.04 - toolset: clang cxxstd: "14,17" - os: macos-11 + os: macos-12 runs-on: ${{matrix.os}} container: ${{matrix.container}}