Update dependency com.google.errorprone:error_prone_annotations to v2… #341
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: Java CI with Gradle | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '8', '11', '17', '21' ] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
show-progress: false | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: ./gradlew build | |
run: ./gradlew build | |
- name: Setup local CF | |
run: ./.setup-CF.sh | |
- name: ./gradlew -PcfLocal build | |
run: ./gradlew -PcfLocal build | |
- name: ./gradlew requireJavadoc | |
run: ./gradlew requireJavadoc | |
- name: ./gradlew spotlessCheck | |
if: ${{ matrix.java != '8' }} | |
run: ./gradlew spotlessCheck |