Skip to content

Commit 66716da

Browse files
hyperpolymathclaude
andcommitted
fix(ci): remove dead Elixir escript build from hypatia-scan
Hypatia v2 uses shell-based scanning (hypatia-cli.sh), not an Elixir escript. The erlef/setup-beam + mix escript.build steps were failing because the mix project has no :main_module configured. Remove them — the scan step already calls hypatia-cli.sh directly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d2f3902 commit 66716da

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

‎.github/workflows/hypatia-scan.yml‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,12 @@ jobs:
2424
with:
2525
fetch-depth: 0 # Full history for better pattern analysis
2626

27-
- name: Setup Elixir for Hypatia scanner
28-
uses: erlef/setup-beam@9d5b75ddfda22fb979d2270283237aef8aa68d6b # v1.18.2
29-
with:
30-
elixir-version: '1.19.4'
31-
otp-version: '28.3'
32-
3327
- name: Clone Hypatia
3428
run: |
3529
if [ ! -d "$HOME/hypatia" ]; then
3630
git clone https://github.com/hyperpolymath/hypatia.git "$HOME/hypatia"
3731
fi
38-
39-
- name: Build Hypatia scanner (if needed)
40-
run: |
41-
cd "$HOME/hypatia"
42-
if [ ! -f hypatia-v2 ]; then
43-
echo "Building hypatia-v2 scanner..."
44-
mix deps.get
45-
mix escript.build
46-
mv hypatia hypatia-v2 || true
47-
fi
32+
chmod +x "$HOME/hypatia/hypatia-cli.sh"
4833
4934
- name: Run Hypatia scan
5035
id: scan

0 commit comments

Comments
 (0)