Bump org.apache.groovy:groovy from 4.0.18 to 4.0.22 #97
Workflow file for this run
This file contains 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
{ | |
"jobs": { | |
"build": { | |
"runs-on": "ubuntu-22.04", | |
"steps": [ | |
{ | |
"name": "Setup Java", | |
"run": "echo \"JAVA_HOME=$JAVA_HOME_17_X64\" >> \"$GITHUB_ENV\"" | |
}, | |
{ | |
"with": { | |
"fetch-depth": "0", | |
"persist-credentials": "false" | |
}, | |
"name": "Checkout", | |
"uses": "actions/checkout@v4" | |
}, | |
{ | |
"name": "Validate Gradle Wrapper", | |
"uses": "gradle/actions/wrapper-validation@v3" | |
}, | |
{ | |
"with": { | |
"path": "**/.gradle/loom-cache\n**/.gradle/quilt-loom-cache", | |
"key": "${{ runner.os }}-gradle-${{ hashFiles('**/libs.versions.*', '**/*.gradle*', '**/gradle-wrapper.properties') }}", | |
"restore-keys": "${{ runner.os }}-gradle-" | |
}, | |
"name": "Cache", | |
"uses": "actions/cache/restore@v4" | |
}, | |
{ | |
"with": { | |
"cache-read-only": true, | |
"gradle-home-cache-cleanup": true | |
}, | |
"name": "Setup Gradle", | |
"uses": "gradle/actions/setup-gradle@v3" | |
}, | |
{ | |
"name": "Assemble", | |
"run": "./gradlew assemble", | |
"id": "assemble", | |
"env": { | |
"PR_NUMBER": "${{ github.event.pull_request.number }}" | |
} | |
}, | |
{ | |
"name": "Test", | |
"run": "./gradlew check --continue", | |
"id": "test", | |
"env": { | |
"PR_NUMBER": "${{ github.event.pull_request.number }}" | |
} | |
}, | |
{ | |
"name": "Test Plugin", | |
"run": "./gradlew check --continue", | |
"id": "test_plugin", | |
"env": { | |
"PR_NUMBER": "${{ github.event.pull_request.number }}" | |
}, | |
"working-directory": "./testplugin", | |
"if": "(success() || failure()) && steps.assemble.outcome == 'success'" | |
}, | |
{ | |
"with": { | |
"name": "junit-test-results", | |
"path": "**/build/test-results/*/TEST-*.xml", | |
"retention-days": "1" | |
}, | |
"name": "Upload junit-test-results", | |
"uses": "actions/upload-artifact@v4", | |
"if": "(success() || failure()) && steps.assemble.outcome == 'success'" | |
}, | |
{ | |
"with": { | |
"name": "jacoco-coverage", | |
"path": "build/reports/jacoco/testCodeCoverageReport" | |
}, | |
"name": "Upload jacoco-coverage", | |
"uses": "actions/upload-artifact@v4", | |
"if": "(success() || failure()) && steps.assemble.outcome == 'success'" | |
}, | |
{ | |
"name": "Publish", | |
"run": "./gradlew publish", | |
"id": "publish", | |
"env": { | |
"PR_NUMBER": "${{ github.event.pull_request.number }}" | |
} | |
}, | |
{ | |
"with": { | |
"name": "artifacts", | |
"path": "build/repo" | |
}, | |
"name": "Archive Publishable Artifacts", | |
"uses": "actions/upload-artifact@v4" | |
} | |
] | |
} | |
}, | |
"name": "Build PR", | |
"concurrency": "ci-${{ github.ref }}", | |
"on": { | |
"pull_request": { | |
} | |
} | |
} |