Changed spring version #2
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@v2 | |
- name: Run chmod to make gradlew executable | |
run: chmod +x gradlew | |
- name: Execute tests | |
env: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
uses: gradle/gradle-build-action@v3 | |
with: | |
arguments: cleanTest test jacocoTestReport sonar | |