ci: switch scheduled jobs to nix built kernel #1280
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Create a reusable GitHub action to restore the kernel cache. This takes an
argument for
git-repo
andbranch
, like the equivalent reusable workflow forbuilding a Nix kernel. Enable this action for the Nix built kernels in the
scheduled runs.
This reduces the possibility for a mis-copy and significantly simplifies the
files compared to duplicating the code.
Note that this is deliberately ordered before the
tar
setuid bit in theactions, as the new cache and that change don't interact well. Will drop that
setuid step in future changes but leaving it there for now to load the other
caches.
Drive by: remove lint from the for-next scheduled run. It's already checked on
PRs, in the merge queue, and on the scheduled main run.
Test plan:
master
branch to guarantee a miss.Workflow fails as expected.
push
. They pass.