Skip to content

[codex] Accept Tart project release formulas #35

[codex] Accept Tart project release formulas

[codex] Accept Tart project release formulas #35

Workflow file for this run

name: Validate Homebrew recipes
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
validate-homebrew:
name: validate-homebrew
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
persist-credentials: false
- name: Check Ruby syntax
run: |
recipe_directories=(Casks)
if [ -d Formula ]; then
recipe_directories+=(Formula)
fi
find "${recipe_directories[@]}" -name '*.rb' -type f -print0 | \
xargs -0 -n1 ruby -c
- name: Tap local repository
run: brew tap openai/tools "$GITHUB_WORKSPACE"
- name: Check Homebrew can load the tap
run: brew readall openai/tools
- name: Validate generated recipe structure
run: ruby scripts/validate_recipes.rb