mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-23 06:54:13 +08:00
* fix: update test workflow reference in test-local.sh Change workflow file from test-action.yml to test-base-action.yml 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * docs(CLAUDE): update test workflow reference in CLAUDE.md --------- Co-authored-by: Claude <noreply@anthropic.com>
12 lines
402 B
Bash
Executable File
12 lines
402 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Install act if not already installed
|
|
if ! command -v act &> /dev/null; then
|
|
echo "Installing act..."
|
|
brew install act
|
|
fi
|
|
|
|
# Run the test workflow locally
|
|
# You'll need to provide your ANTHROPIC_API_KEY
|
|
echo "Running action locally with act..."
|
|
act push --secret ANTHROPIC_API_KEY="$ANTHROPIC_API_KEY" -W .github/workflows/test-base-action.yml --container-architecture linux/amd64 |