[patch] chore: sync skills to v0.32.0 #21
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
| # 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 |