-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
In CI, the UTILITY_LIST variable is used by cargo clippy to check lint errors (list of tools to test according to the selected features):
CICDworkflow / jobdoc_warnings=>.github/workflows/CICD.ymlFreeBSDworkflow / jobstyle=>.github/workflows/freebsd.yml
This list is generated by the ./util/show-utils.sh script depending on features used in workflow.
With my previous fix (commit 3b96ff1), this list is correctly generated by ./util/show-utils.sh script for the different versions of Rust/cargo:
$ ./util/show-utils.sh --features unix
arch base32 base64 basename basenc cat chgrp chmod chown chroot cksum comm cp csplit cut date dd df dir dircolors dirname du echo env expand expr factor false fmt fold groups hashsum head hostid hostname id install join kill link ln logname ls mkdir mkfifo mknod mktemp more mv nice nl nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx pwd readlink realpath rm rmdir seq shred shuf sleep sort split stat stdbuf stty sum sync tac tail tee test timeout touch tr true truncate tsort tty uname unexpand uniq unlink uptime users vdir wc who whoami yesBut in some runs of CICD and FreeBSD workflows, the UTILITY_LIST variable is empty:
- CICD workflow run#17186: https://github.com/uutils/coreutils/actions/runs/9549256298/job/26318404149 => job "Documentation/warnings" / step "Initialize workflow variables"
- FreeBSD workflow run#5941: https://github.com/uutils/coreutils/actions/runs/9549256305/job/26318402192 => job "Style and Lint" / step "Prepare, build and test" / step "Run 'run' in VM'"
I don't find why the UTILITY_LIST variable is OK when using the ./util/show-utils.sh script in command-line (tested on Linux/Debain and OpenBSD) but NOK when used in GitHub workflows.
Metadata
Metadata
Assignees
Labels
No labels