# 使用 Homebrew, Nix 安装 action-validator

查看 action-validator 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:action-validator
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install action-validator
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#action-validator
```

  证据: nixpkgs package indexes: pkgs/by-name/ac/action-validator/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:action-validator
- **软件包管理器:** Homebrew
- **版本:** 0.9.0
- **来源摘要:** Tool to validate GitHub Action and Workflow YAML files
- **主页:** <https://github.com/mpalmer/action-validator>
- **仓库:** <https://github.com/mpalmer/action-validator>
- **最后更新:** 2026-05-26T23:37:47-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- action-validator (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.9.0
## 项目历史与用法

action-validator is a standalone linter for GitHub Actions and workflow YAML files, checking structure against schemas and validating path globs.

### 项目历史

The repository was created in October 2021 and published v0.1.0 the same day. The README describes a focused Rust-based tool intended for pre-commit hooks and similar validation workflows.

### 采用历史

The official README documents several distribution paths: pre-built binaries from GitHub releases, cargo, asdf, mise, npm packages, direct repository builds, GitHub Action usage, and pre-commit integration. That spread is unusually broad for a small validator and reflects demand across Rust, Node, version-manager, and CI users.

### 使用方式

The core workflow is to pass one or more GitHub workflow or action YAML files to action-validator. The README also shows pre-commit hook usage, npx usage, a Node API, and running the validator inside GitHub Actions.

### 为什么软件包爱好者会关心

action-validator is package-nerd friendly because it packages a CI correctness check as a local command, not only as hosted platform behavior. It is also notable for offering the same validation idea through native binaries, cargo, npm, asdf, mise, pre-commit, and a composite GitHub Action.

### 时间线

- 2021-10-26: GitHub repository created and v0.1.0 published.
- 2023-03-03: v0.4.0 added WASM builds, multiple filenames, and older-distro binary support.
- 2024-02-23: v0.6.0 added negative-glob support and tests.
- 2025-08-20: v0.8.0 added --rootdir support.
- 2026-04-09: v0.9.0 improved file discovery using git-known files and added a pre-built GitHub Action.

### Related projects

- Related projects include SchemaStore-backed validators, pre-commit hooks, GitHub Actions workflow linters, and CI policy checks.

### 来源

- <https://api.github.com/repos/mpalmer/action-validator>
- <https://api.github.com/repos/mpalmer/action-validator/releases>
- <https://raw.githubusercontent.com/mpalmer/action-validator/main/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - action-validator: normalized package name match | nixpkgs package indexes: pkgs/by-name/ac/action-validator/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/action-validator.yml](https://github.com/mxcl/pkgdb/blob/main/combined/action-validator.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
