fabasoad/setup-graudit-action

GitHub: fabasoad/setup-graudit-action

该 GitHub Action 用于在 CI/CD 工作流中自动安装 graudit 源代码安全审计工具。

Stars: 1 | Forks: 0

# 设置 graudit action [![与乌克兰同在](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/caa5c64d7a065752.svg)](https://stand-with-ukraine.pp.ua) ![Release](https://img.shields.io/github/v/release/fabasoad/setup-graudit-action?include_prereleases) ![functional-tests](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/379cc365e4065753.svg) ![security](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/053e25116f065755.svg) ![linting](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/3ea22896be065756.svg) 此 action 会安装 [graudit](https://github.com/wireghoul/graudit) CLI 工具。 ## 支持的操作系统 | 操作系统 | | |---------|--------------------| | Windows | :white_check_mark: | | Linux | :white_check_mark: | | macOS | :white_check_mark: | ## 前置条件 为了让此 GitHub Action 正常工作,必须安装以下工具: [curl](https://curl.se)。 ## 输入 ``` - 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 }}" ``` ## 输出 | 名称 | 描述 | 示例 | |----------|------------------------------------|---------| | installed | graudit 是否已成功安装 | `true` | ## 使用示例 ### 工作流配置 ``` 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 ``` ### 结果 ``` Run graudit -v graudit version: 3.7 ``` ## 贡献 ![Alt](https://repobeats.axiom.co/api/embed/a34fe557eddd78e7b77a9f1237d1e1ee5c093a9d.svg "Repobeats analytics image")
标签:Cutter, GitHub Action, SOC Prime, 开发工具, 环境配置, 错误基检测, 静态代码分析