⬆️ Upgrade gradle/actions/setup-gradle from 4.3.1 to 5.0.2 #232
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: Integration | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - '**.api' | |
| - '**.kt' | |
| - '**.kts' | |
| - .github/workflows/integration.yml | |
| - gradle/** | |
| - gradle.properties | |
| - gradlew | |
| - gradlew.bat | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - '**.api' | |
| - '**.kt' | |
| - '**.kts' | |
| - .github/workflows/integration.yml | |
| - gradle/** | |
| - gradle.properties | |
| - gradlew | |
| - gradlew.bat | |
| workflow_dispatch: | |
| env: | |
| JAVA_DISTRIBUTION: temurin | |
| JAVA_VERSION: 17 | |
| jobs: | |
| gradle-plugin: | |
| name: Gradle plugin | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/[email protected] | |
| - name: Setup Java | |
| uses: actions/[email protected] | |
| with: | |
| distribution: ${{ env.JAVA_DISTRIBUTION }} | |
| java-version: ${{ env.JAVA_VERSION }} | |
| - name: Validate Gradle wrapper | |
| uses: gradle/actions/[email protected] | |
| - name: Setup Gradle | |
| uses: gradle/actions/[email protected] | |
| - name: Build ':plugin' project | |
| run: ./gradlew :plugin:build | |
| demonstration: | |
| name: Demonstration | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/[email protected] | |
| - name: Setup Java | |
| uses: actions/[email protected] | |
| with: | |
| distribution: ${{ env.JAVA_DISTRIBUTION }} | |
| java-version: ${{ env.JAVA_VERSION }} | |
| - name: Validate Gradle wrapper | |
| uses: gradle/actions/[email protected] | |
| - name: Setup Gradle | |
| uses: gradle/actions/[email protected] | |
| - name: Build ':demonstration' project | |
| run: ./gradlew :demonstration:build | |
| old-gradle-plugin: | |
| name: Old Gradle plugin | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/[email protected] | |
| - name: Setup Java | |
| uses: actions/[email protected] | |
| with: | |
| distribution: ${{ env.JAVA_DISTRIBUTION }} | |
| java-version: ${{ env.JAVA_VERSION }} | |
| - name: Validate Gradle wrapper | |
| uses: gradle/actions/[email protected] | |
| - name: Setup Gradle | |
| uses: gradle/actions/[email protected] | |
| - name: Check 'jvm' Gradle project | |
| run: ./gradlew :jvm:check |