2222
2323 - name : Download ast-grep binary for tests
2424 run : |
25- curl -L -o ast-grep.zip https://github.com/ast-grep/ast-grep/releases/download/0.39.5 /app-x86_64-unknown-linux-gnu.zip
25+ curl -L -o ast-grep.zip https://github.com/ast-grep/ast-grep/releases/latest/download /app-x86_64-unknown-linux-gnu.zip
2626 unzip -o ast-grep.zip -d cmd/server/bin/
2727 # Verify ast-grep binary works
2828 if [ -f "cmd/server/bin/ast-grep" ]; then
8686 if : matrix.os != 'windows-latest'
8787 run : |
8888 echo "Matrix values: OS=${{ matrix.os }}, GOOS=${{ matrix.goos }}, GOARCH=${{ matrix.goarch }}, Asset=${{ matrix.ast_grep_asset }}"
89- AST_GREP_URL="https://github.com/ast-grep/ast-grep/releases/download/0.39.5 /${{ matrix.ast_grep_asset }}"
89+ AST_GREP_URL="https://github.com/ast-grep/ast-grep/releases/latest/download /${{ matrix.ast_grep_asset }}"
9090 echo "Download URL: $AST_GREP_URL"
9191 curl -L -o ast-grep.zip "$AST_GREP_URL"
9292 unzip -o ast-grep.zip -d cmd/server/bin/
@@ -102,7 +102,7 @@ jobs:
102102 if : matrix.os == 'windows-latest'
103103 run : |
104104 echo "Matrix values: OS=${{ matrix.os }}, GOOS=${{ matrix.goos }}, GOARCH=${{ matrix.goarch }}, Asset=${{ matrix.ast_grep_asset }}"
105- $AST_GREP_URL = "https://github.com/ast-grep/ast-grep/releases/download/0.39.5 /${{ matrix.ast_grep_asset }}"
105+ $AST_GREP_URL = "https://github.com/ast-grep/ast-grep/releases/latest/download /${{ matrix.ast_grep_asset }}"
106106 Write-Host "Download URL: $AST_GREP_URL"
107107 curl.exe -L -o ast-grep.zip $AST_GREP_URL
108108 # Use PowerShell's built-in extraction instead of 7z
0 commit comments