🔧 Fix NekoCode GitHub Actions: update to use releases/nekocode-rust binary
- Change download path from bin/nekocode_ai to releases/nekocode-rust - Update command from nekocode_ai to nekocode-rust - This should fix the 0 files analyzed issue in PR analysis 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
6
.github/workflows/nekocode-pr-analysis.yml
vendored
6
.github/workflows/nekocode-pr-analysis.yml
vendored
@ -23,14 +23,14 @@ jobs:
|
||||
- name: Download NekoCode
|
||||
run: |
|
||||
mkdir -p bin
|
||||
curl -L https://github.com/moe-charm/nekocode-rust/raw/main/bin/nekocode_ai -o bin/nekocode_ai
|
||||
chmod +x bin/nekocode_ai
|
||||
curl -L https://github.com/moe-charm/nekocode-rust/raw/main/releases/nekocode-rust -o bin/nekocode-rust
|
||||
chmod +x bin/nekocode-rust
|
||||
|
||||
- name: Analyze Current PR
|
||||
id: analyze-pr
|
||||
run: |
|
||||
echo "🔍 Analyzing PR changes..."
|
||||
./bin/nekocode_ai analyze src/ --stats-only > pr_analysis.txt 2>&1 || true
|
||||
./bin/nekocode-rust analyze src/ --stats-only > pr_analysis.txt 2>&1 || true
|
||||
|
||||
echo "📊 Analysis Results:"
|
||||
cat pr_analysis.txt
|
||||
|
||||
Reference in New Issue
Block a user