1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

Optimize check-maintainers-sorted workflow with sparse checkout

Only lib and maintainers directories are needed to perform the check.
This commit is contained in:
Will Bush 2024-04-06 17:38:33 -05:00
parent b493bc2d35
commit 1ec2e2cf1c
No known key found for this signature in database
GPG key ID: 3823864B54B13BDA

View file

@ -16,6 +16,10 @@ jobs:
with:
# pull_request_target checks out the base branch by default
ref: refs/pull/${{ github.event.pull_request.number }}/merge
# Only these directories to perform the check
sparse-checkout: |
lib
maintainers
- uses: cachix/install-nix-action@8887e596b4ee1134dae06b98d573bd674693f47c # v26
with:
# explicitly enable sandbox