Release 0.39.0
New features
Install and run in one Action step
The GitHub Action gained an args input: when set, it runs bashunit <args> right after installing, so a single step both installs the framework and runs your suite:
- uses: TypedDevs/bashunit@v0
with:
args: 'tests/ --parallel'Pin the Action by major with v0
The release process now force-moves a floating v0 tag to each release, so workflows can pin TypedDevs/bashunit@v0 and automatically track the latest release within the major (#700).
Scaffold a CI workflow on init
bashunit init now scaffolds a .github/workflows/tests.yml that uses the official action, giving new projects working CI out of the box. Existing files are left untouched (#702).
--report-junit alias
--report-junit <file> is now an alias of --log-junit, for naming parity with --report-html (#705).
Changes
- The Action's
versioninput now defaults to the version pinned at the action ref instead oflatest, so pinning the action by SHA also pins a visible bashunit version. install.shnow verifies the release checksum by default. SetBASHUNIT_VERIFY_CHECKSUM=falseto opt out; it soft-skips with a warning when a checksum asset is unavailable unless verification was explicitly requested (#703).--log-ghaannotations now include the failing test'sline(::error file=…,line=…), so they pin to the exact line in a pull request's "Files changed" tab (#704).
Patch 0.39.1
A follow-up fix: bashunit upgrade was resolving the floating v0 Action tag as the latest version, which broke upgrades. It now only considers exact-version tags. See the 0.39.1 changelog.
See the full changelog for 0.39.0 on GitHub.