step-security/Setup Bats and Bats libraries
A GitHub Action for installing Bats and Bats-libs(support, assert, detik, file)
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| bats-install | Bats installation, default to true | no | true |
| bats-version | Bats version, default to latest (1.11.0 atm) | no | — |
| support-install | Bats-support installation, default to true | no | true |
| support-version | Bats-support version, default to latest | no | 0.3.0 |
| support-path | Bats-support path, default to /usr/lib/bats-support | no | /usr/lib/bats-support |
| support-clean | Bats-support: clean temp files | no | true |
| assert-install | Bats-assert installation, default to true | no | true |
| assert-version | Bats-assert version, default to latest | no | 2.1.0 |
| assert-path | Bats-assert path, default to /usr/lib/bats-assert | no | /usr/lib/bats-assert |
| assert-clean | Bats-assert: clean temp files | no | true |
| detik-install | Bats-detik installation, default to true | no | true |
| detik-version | Bats-detik version, default to latest | no | 1.3.2 |
| detik-path | Bats-detik path, default to /usr/lib/bats-detik | no | /usr/lib/bats-detik |
| detik-clean | Bats-detik: clean temp files | no | true |
| file-install | Bats-file installation, default to true | no | true |
| file-version | Bats-file version, default to latest | no | 0.4.0 |
| file-path | Bats-file path, default to /usr/lib/bats-file | no | /usr/lib/bats-file |
| file-clean | Bats-file: clean temp files | no | true |
| github-token | GitHub token to use to download the releases | no | "" |
Outputs
| name | description |
|---|---|
| bats-installed | True/False if bats has been installed |
| support-installed | True/False if bats-support has been installed |
| assert-installed | True/False if bats-assert has been installed |
| detik-installed | True/False if bats-detik has been installed |
| file-installed | True/False if bats-file has been installed |
| lib-path | Bats lib path to use to load the libraries |
| tmp-path | Temporary path with each library tests |