Open
Description
Description
Currently, the shellcheck
and checkbashisms
step in .github/workflows/test.yml
explicitly lists files to check:
- name: Run shellcheck
run: shellcheck wcurl tests/*
- name: Run checkbashisms
run: checkbashisms wcurl tests/*
This approach requires manual updates whenever files are added
, renamed
, or moved
, which can lead to omissions in CI checks.
To improve maintainability, the workflow should dynamically include all relevant files without hardcoding their paths. There is related discussion on this topic in koalaman/shellcheck#143.
Tasks
- Research dynamic file inclusion methods compatible with
shellcheck
andcheckbashisms
. - Update the workflow to automate file discovery.
- Test the updated workflow to ensure all relevant files are checked.
- Create a pull request with the enhanced configuration.
Outcome
This enhancement will reduce maintenance overhead and ensure comprehensive CI checks for shell scripts.
Metadata
Metadata
Assignees
Labels
No labels
Activity