File outline support, symbol searching, and TCP instead of UDP #147
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| cli-smoke: | |
| name: CLI smoke (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: graalvm/setup-graalvm@v1 | |
| with: | |
| distribution: graalvm-community | |
| java-version: "21" | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| native-image-job-reports: "true" | |
| - uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| gradle-version: "9.4.0" | |
| - uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.gradle/kast/intellij-distributions | |
| backend-standalone/build/compat | |
| backend-standalone/build/legacy-plugin-classes | |
| key: idea-dist-${{ hashFiles('gradle/libs.versions.toml') }} | |
| - name: Build and test Kast | |
| run: > | |
| ./gradlew | |
| :analysis-api:test | |
| :analysis-server:test | |
| :backend-standalone:test | |
| :backend-intellij:test | |
| :backend-intellij:buildPlugin | |
| :backend-intellij:verifyPluginStructure | |
| :kast:test | |
| :kast:portableDistZip | |
| - name: Smoke portable Kast distribution | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| dist_dir="$RUNNER_TEMP/kast-dist" | |
| rm -rf "$dist_dir" | |
| mkdir -p "$dist_dir" | |
| unzip -q kast/build/distributions/kast-*-portable.zip -d "$dist_dir" | |
| ./.github/scripts/smoke-kast-cli.sh "$dist_dir/kast/kast" | |
| - name: Validate wrapper JSON contracts | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| dist_dir="$RUNNER_TEMP/kast-dist" | |
| bash .agents/skills/kast/scripts/validate-wrapper-json.sh "$dist_dir/kast" | |
| - name: Smoke installer | |
| shell: bash | |
| run: ./.github/scripts/smoke-installer.sh | |
| eval-agent-routing: | |
| name: Eval agent routing | |
| runs-on: ubuntu-latest | |
| needs: cli-smoke | |
| if: > | |
| github.event_name == 'push' || | |
| contains(github.event.pull_request.changed_files, '.agents/') || | |
| contains(github.event.pull_request.changed_files, 'evals/') || | |
| contains(github.event.pull_request.changed_files, 'AGENTS.md') | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "21" | |
| - uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| gradle-version: "9.4.0" | |
| - name: Build kast | |
| run: ./gradlew --no-daemon :kast:installDist | |
| - name: Run kast-routing evals | |
| run: bash evals/harness/run-evals.sh --suite=kast-routing --format=json | |
| - name: Run kast-workflows evals | |
| run: bash evals/harness/run-evals.sh --suite=kast-workflows --format=json | |
| - name: Upload eval results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: eval-results-${{ github.run_id }} | |
| path: evals/transcripts/ | |
| if-no-files-found: ignore |