-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch to checkout@v2 with submodules and fetch-depth 0 #2725
Conversation
Looks like builds with frozen modules are failing. You'll want to use |
c738810
to
9f55a67
Compare
I think this is correct now, but frustratingly some of the builds spent the night in the "queued" state so we don't have green from CI yet. @dhalbert what would you like me to do? |
@jepler I canceled the job and expected to find a "re-run jobs" button, but there isn't one |
9f55a67
to
6bf3837
Compare
I think that may just be the usual github flakiness about cancel jobs, since the ones that never started were still in "waiting to start" state. I pushed an update, let's see how it goes. |
The previous run completed, and a re-run jobs button was presented. I've clicked it, and it appears the new checks have started. |
On the re-run there were some spurious failures. I looked at two, and they were the same. When fetching tags inside submodules, it failed (possibly on the first one?) insisting that there is no "origin" remote.
Earlier in the log, nothing seemed out of the ordinary when cloning ulab:
|
I feel like this isn't going to work out right now. Someone else is welcome to take up the mantle. |
This switches us to the current version of checkout, which has recently added support for a feature we use (submodules). This feature was in v1 but was not initially in v2. It was recently added to v2.
For more background, see actions/checkout#176 and #2718.
Things to check: that the checkout includes the needed tags that fetch-depth 0 is intended to add.
Besides just keeping modern, it appears to be the case that checkout@v2 works properly when re-running a failed actions job.