]> git.ipfire.org Git - thirdparty/squid.git/commit
CI: Upgrade GitHub Setup Node and CodeQL actions to Node 20 (#1845)
authorAlex Rousskov <rousskov@measurement-factory.com>
Sat, 22 Jun 2024 02:49:41 +0000 (02:49 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 22 Jun 2024 21:00:23 +0000 (21:00 +0000)
commit8805c474d4e31c6c527006f6c4498430a124aa06
tree2e8a9f15f07fd94e60918efa8d220b1727e26fdb
parent8c469f12701d844ddfdd8951129f8d6bbd93d0ac
CI: Upgrade GitHub Setup Node and CodeQL actions to Node 20 (#1845)

These major action version upgrades are recommended by GitHub that is
deprecating Node 16: Node 16 stopped receiving security updates in
September 2023. Node 20 will reach that state around April 2026.

* actions/setup-node@v4: The primary difference is that Setup Node
  action v4 uses Node 20, while v3 uses Node 16. Also, Setup Node v4
  adds support for arm64 Windows and other secondary improvements.

* github/codeql-action@v3: The only difference is that CodeQL Action v3
  runs on Node 20, while CodeQL Action v2 runs on Node 16.

This change is necessary but not sufficient to address current GitHub
Actions upgrade warnings. We also need to upgrade upload-artifact@v3,
but that upgrade has side effects that deserve a dedicate change.
.github/workflows/default.yaml