Update dependency gradle to v8.10 #404
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 | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 22 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '22' | |
distribution: 'temurin' | |
- name: Validate Gradle wrapper | |
uses: gradle/wrapper-validation-action@v3 | |
- 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 }} | |