chore: Release v0.9.0 #225
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: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| FLUTTER_VERSION: '3.24.0' | |
| JAVA_VERSION: '17' | |
| jobs: | |
| # Dart/Flutter checks | |
| dart: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: ${{ env.FLUTTER_VERSION }} | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Analyze | |
| run: dart analyze | |
| - name: Format check | |
| run: dart format --set-exit-if-changed . | |
| - name: Run integration tests | |
| run: dart run test_integration/integration_test.dart | |
| continue-on-error: true | |
| # VSCode extension checks | |
| vscode: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: vscode-extension | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Compile | |
| run: npm run compile | |
| - name: Package check | |
| run: npx @vscode/vsce package --no-dependencies | |
| # IntelliJ plugin checks | |
| intellij: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: intellij-plugin | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ env.JAVA_VERSION }} | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v3 | |
| - name: Build plugin | |
| run: ./gradlew buildPlugin --no-configuration-cache | |
| # Note: verifyPluginStructure has Kotlin Gradle Plugin compatibility issues in CI | |
| # It works locally but fails in GitHub Actions with Gradle 9.3.1 | |
| # buildPlugin already validates the plugin can be built successfully | |
| - name: Upload plugin artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: intellij-plugin | |
| path: intellij-plugin/build/distributions/*.zip | |
| # npm package checks | |
| npm: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: packaging/npm | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Pack check | |
| run: npm pack --dry-run |