Commit 0cd7dca
committed
ci/github: install git before checking out the repository
The GitHub CI workflow uses 'actions/checkout@v4' to checkout the
repository. This action defaults to using the GitHub REST API to obtain
the repository if Git isn't present. The REST API downloads a tar of the
repository sans the Git information. Since we don't install Git before
this step, using the REST API is the current behavior.
The following commits will add the 'hdr-check' static check to meson.
The check will use 'git ls-files' to obtain the set of header files.
This will fail if the repository doesn't contain the Git directory. So
install Git before running the 'actions/checkout@v4' action.
Signed-off-by: Karthik Nayak <[email protected]>1 parent d1b5184 commit 0cd7dca
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
417 | 425 | | |
418 | 426 | | |
419 | 427 | | |
| |||
0 commit comments