Skip to content

Commit

Permalink
GHA: Remove actions/checkout, fix apt commands, add retries on net er…
Browse files Browse the repository at this point in the history
…rors.

GitHub actions/checkout@v3 is no longer working and v4 is incompatible with
older Linux versions due to actions/checkout#1590.
To fix this, and permanently eliminate the issue of periodic deprecation
of actions/checkout, replace it with manual downloads of git snapshots using
curl.

Additionally, fixed apt command lines that would incorrectly expand the list
of packages to install. Added options to retry on network errors to reduce
the probability of spurious CI failures. Also added git checkout parallel
jobs to potentially speed up the checkout.

This should fix CI failures with actions/checkout@v3 and eliminate GHA
deprecation warnings.
  • Loading branch information
Lastique committed Nov 12, 2024
1 parent f93d337 commit 835c364
Showing 1 changed file with 202 additions and 68 deletions.
Loading

0 comments on commit 835c364

Please sign in to comment.