Merge pull request #305873 from willbush/workflows/by-name/force-cli-color

workflows: force CLI color when running nixpkgs-check-by-name
This commit is contained in:
Silvan Mosberger 2024-04-22 04:00:54 +02:00 committed by GitHub
commit a5edac542c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,10 @@ jobs:
# Adds a result symlink as a GC root
nix-store --realise "$toolPath" --add-root result
- name: Running nixpkgs-check-by-name
env:
# Force terminal colors to be enabled. The library that
# nixpkgs-check-by-name uses respects: https://bixense.com/clicolors/
CLICOLOR_FORCE: 1
run: |
if result/bin/nixpkgs-check-by-name --base "$base" .; then
exit 0