Skip to content

Update plugin net.ltgt.errorprone to v4 #372

Update plugin net.ltgt.errorprone to v4

Update plugin net.ltgt.errorprone to v4 #372

Workflow file for this run

name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: Test with Gradle
run: ./gradlew test
- name: Generate reports
run: ./gradlew build jacocoTestReport
# This works, but fails everytime as it needs 80% coverage
# so commenting it out temporarily
#- name: Analyze on SonarCloud
#run: ./gradlew build sonarqube
#env:
#GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}