Testing a Bash-Based GitHub Action Without Docker: Split Logic from Orchestration
Draft
·4 mins·
EN
Split a Docker action’s entrypoint into a side-effect-free lib.sh and a thin runner.sh so its logic can be unit-tested with bats, without ever building the image.