Wire up task to sourcesets. #821
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
name: gradle plugin checks | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- gradle/** | |
- gradle-plugin/** | |
pull_request: | |
branches: [ main ] | |
paths: | |
- gradle/** | |
- gradle-plugin/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDKs | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: 17 | |
- name: Set up Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Check | |
run: ./gradlew :gradle-plugin:plugin:check | |
- name: Archive test reports | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: Functional test reports | |
path: '**/build/reports/tests/functionalTest' | |