PR Build #108
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: PR Build | |
| on: | |
| pull_request: | |
| schedule: | |
| # Runs at 00:00 UTC on the 1st day of every month to continuously test against new Gradle versions | |
| - cron: '0 0 1 * *' | |
| env: | |
| CI: "true" | |
| jobs: | |
| gradle: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # 8.11 = oldest supported version | |
| # wrapper = supposed to be the oldest supported version but actually runs current | |
| # current = latest stable version | |
| # release-candidate = next stable version | |
| # nightly = latest development version | |
| gradle-version: ["8.11", "wrapper", "current", "release-candidate", "nightly"] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-java@v6 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v6 | |
| with: | |
| gradle-version: ${{ matrix.gradle-version }} | |
| develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }} | |
| - name: Build Plugin | |
| run: gradle build | |
| - name: Sample Analysis | |
| working-directory: sample | |
| run: gradle graphAnalysis | |
| - name: Sample Inspection | |
| working-directory: sample | |
| run: gradle :app:graphInspection |