Skip to content

fix: target AI Assistant MCP settings page correctly, improve fallback dialog #5

fix: target AI Assistant MCP settings page correctly, improve fallback dialog

fix: target AI Assistant MCP settings page correctly, improve fallback dialog #5

Workflow file for this run

# Copyright (c) JFrog Ltd. 2026
# Licensed under the Apache License, Version 2.0
# https://www.apache.org/licenses/LICENSE-2.0
name: Validate plugin
on:
push:
branches: [main]
pull_request:
jobs:
validate-layout:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
# VERSION at the repo root is the release source of truth (see .github/workflows/release.yml).
# Catch drift here so a PR cannot merge with the two files disagreeing.
- name: Check VERSION matches gradle.properties
run: |
set -euo pipefail
FILE_VERSION=$(tr -d '[:space:]' < VERSION)
GRADLE_VERSION=$(grep -E '^version[[:space:]]*=' gradle.properties | sed -E 's/^version[[:space:]]*=[[:space:]]*//')
if [ "$FILE_VERSION" != "$GRADLE_VERSION" ]; then
echo "::error::VERSION ($FILE_VERSION) does not match gradle.properties version ($GRADLE_VERSION) — sync them"
exit 1
fi
- name: Set up Node.js
uses: actions/setup-node@v5
with:
node-version: "24"
- name: Validate plugin layout
run: node scripts/validate-jetbrains-plugin.mjs
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"
- name: Build plugin
run: ./gradlew buildPlugin --no-daemon
- name: Verify plugin
run: ./gradlew verifyPlugin --no-daemon