https://github.com/fabasoad/setup-graudit-action
This GitHub action installs graudit CLI tool
https://github.com/fabasoad/setup-graudit-action
actions github-actions security security-audit security-tools vulnerability-detection
Last synced: about 1 year ago
JSON representation
This GitHub action installs graudit CLI tool
- Host: GitHub
- URL: https://github.com/fabasoad/setup-graudit-action
- Owner: fabasoad
- License: mit
- Created: 2022-10-22T14:23:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T16:50:47.000Z (about 2 years ago)
- Last Synced: 2024-05-02T05:07:19.846Z (about 2 years ago)
- Topics: actions, github-actions, security, security-audit, security-tools, vulnerability-detection
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Setup graudit action
[](https://stand-with-ukraine.pp.ua)




This action installs [graudit](https://github.com/wireghoul/graudit) CLI tool.
## Supported OS
| OS | |
|---------|--------------------|
| Windows | :white_check_mark: |
| Linux | :white_check_mark: |
| macOS | :white_check_mark: |
## Prerequisites
The following tools have to be installed for successful work of this GitHub Action:
[curl](https://curl.se).
## Inputs
```yaml
- uses: fabasoad/setup-graudit-action@v0
with:
# (Optional) graudit version. Defaults to the latest version.
version: "3.7"
# (Optional) If "false" skips installation if graudit is already installed.
# If "true" installs graudit in any case. Defaults to "false".
force: "false"
# (Optional) GitHub token that is used to send requests to GitHub API such
# as getting latest release. Defaults to the token provided by GitHub Actions
# environment.
github-token: "${{ github.token }}"
```
## Outputs
| Name | Description | Example |
|-----------|--------------------------------------|---------|
| installed | Whether graudit was installed or not | `true` |
## Example usage
### Workflow configuration
```yaml
name: Test
on: push
jobs:
setup:
name: graudit
runs-on: ubuntu-latest
steps:
- uses: fabasoad/setup-graudit-action@v0
with:
version: 3.7
- name: Print version
run: graudit -v
```
### Result
```shell
Run graudit -v
graudit version: 3.7
```
## Contributions
