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 Jul 4, 2024
1 parent 09a6499 commit 9f3e864
Showing 1 changed file with 202 additions and 64 deletions.
Loading

0 comments on commit 9f3e864

Please sign in to comment.