Release 0.38.0
New features
Official GitHub Action
Installing bashunit in CI no longer means hand-rolling a curl | bash step. The new TypedDevs/bashunit composite action installs bashunit for you and can be pinned by commit SHA for immutable, reproducible builds (#695):
yaml
- uses: TypedDevs/bashunit@<commit-sha>
with:
version: '0.38.0' # optional, defaults to the version pinned at the ref
directory: 'lib' # where to install
add-to-path: 'true' # expose `bashunit` on PATH
verify-checksum: 'true'
- run: bashunit tests/It exposes path and version outputs so later steps can reference the exact install.
Installer checksum verification
install.sh can now validate the downloaded binary against the release checksum asset. Set BASHUNIT_VERIFY_CHECKSUM=true to turn it on (#695):
bash
BASHUNIT_VERIFY_CHECKSUM=true bash <(curl -s https://bashunit.com/install.sh)Bug fixes
install.shnow fails loudly — non-zero exit, no stub binary — when a download fails, and retries transient failures instead of silently reporting success (#695).install.shcreates nested target directories withmkdir -p(#695).
See the full changelog for 0.38.0 on GitHub.