chore(deps): update dependency gradle to v8 #432
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
# Generated by cdkactions. Do not modify | |
# Generated as part of the 'cdk' stack. | |
name: Pull Request | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
pull-request: | |
name: CI | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
gradle: | |
- 7.1.1 | |
java: | |
- "8" | |
- "11" | |
- "15" | |
steps: | |
- name: Check-out Code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
distribution: adopt | |
java-version: ${{ matrix.java }} | |
- name: Make Gradle Wrapper Executable | |
run: chmod +x ./gradlew | |
- name: Set Gradle Version | |
run: ./gradlew wrapper --gradle-version ${{ matrix.gradle }} | |
- name: Test Plugin Directly with Gradle | |
run: ../gradlew check | |
working-directory: pixeloutlaw-gradle-plugin | |
- name: Test Plugin Application with Gradle | |
run: ./gradlew check |