Bump gradle/wrapper-validation-action from 2 to 3 #8
Workflow file for this run
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: Testing CI pipeline | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- 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@v3 | |
- name: Run chmod to make gradlew executable | |
run: chmod +x gradlew | |
- name: Run tests | |
uses: gradle/gradle-build-action@v3 | |
with: | |
arguments: cleanTest test | |
# Configuration for SonarCloud, enable this when SonarCloud is configured | |
# - name: Execute tests | |
# env: | |
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
# uses: gradle/gradle-build-action@v3 | |
# with: | |
# arguments: cleanTest test jacocoTestReport sonar | |