2
0
mirror of https://github.com/boostorg/gil.git synced 2026-01-30 07:52:09 +00:00
Files
gil/.github
Dirk Stolle 67f021ae3d CI improvements and workarounds (#750)
* 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 <https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/>
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.

* ci: switch from macOS 11 to macOS 12

The runner image for macOS 11 has been removed on 2024-06-28. See
<https://github.blog/changelog/2024-05-20-actions-upcoming-changes-to-github-hosted-macos-runners/>
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.
2024-07-05 00:56:34 +02:00
..
2018-06-27 00:02:27 -04:00