File tree Expand file tree Collapse file tree 8 files changed +152
-2
lines changed Expand file tree Collapse file tree 8 files changed +152
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Complete Project - Gradle
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Set up JDK 17
17+ uses : actions/setup-java@v4
18+ with :
19+ java-version : ' 17'
20+ distribution : ' temurin'
21+
22+ - name : Cache Gradle dependencies
23+ uses : actions/cache@v4
24+ with :
25+ path : |
26+ ~/.gradle/caches
27+ ~/.gradle/wrapper
28+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
29+ restore-keys : |
30+ ${{ runner.os }}-gradle-
31+
32+ - name : Make gradlew executable
33+ working-directory : complete
34+ run : chmod +x ./gradlew
35+
36+ - name : Run tests with Gradle
37+ working-directory : complete
38+ run : ./gradlew clean test
39+
Original file line number Diff line number Diff line change 1+ name : Complete Project - Maven
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Set up JDK 17
17+ uses : actions/setup-java@v4
18+ with :
19+ java-version : ' 17'
20+ distribution : ' temurin'
21+
22+ - name : Cache Maven dependencies
23+ uses : actions/cache@v4
24+ with :
25+ path : ~/.m2
26+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
27+ restore-keys : ${{ runner.os }}-m2
28+
29+ - name : Run tests with Maven
30+ working-directory : complete
31+ run : ./mvnw clean test
32+
Original file line number Diff line number Diff line change 1+ name : Initial Project - Gradle
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Set up JDK 17
17+ uses : actions/setup-java@v4
18+ with :
19+ java-version : ' 17'
20+ distribution : ' temurin'
21+
22+ - name : Cache Gradle dependencies
23+ uses : actions/cache@v4
24+ with :
25+ path : |
26+ ~/.gradle/caches
27+ ~/.gradle/wrapper
28+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
29+ restore-keys : |
30+ ${{ runner.os }}-gradle-
31+
32+ - name : Make gradlew executable
33+ working-directory : initial
34+ run : chmod +x ./gradlew
35+
36+ - name : Run tests with Gradle
37+ working-directory : initial
38+ run : ./gradlew clean test
39+
Original file line number Diff line number Diff line change 1+ name : Initial Project - Maven
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Set up JDK 17
17+ uses : actions/setup-java@v4
18+ with :
19+ java-version : ' 17'
20+ distribution : ' temurin'
21+
22+ - name : Cache Maven dependencies
23+ uses : actions/cache@v4
24+ with :
25+ path : ~/.m2
26+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
27+ restore-keys : ${{ runner.os }}-m2
28+
29+ - name : Run tests with Maven
30+ working-directory : initial
31+ run : ./mvnw clean test
32+
Original file line number Diff line number Diff line change 11.gradle
2- .mvn
32target
43build
5- .idea
4+ .idea
Original file line number Diff line number Diff line change 1+ wrapperVersion =3.3.4
2+ distributionType =only-script
3+ distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip
Original file line number Diff line number Diff line change 1+ wrapperVersion =3.3.4
2+ distributionType =only-script
3+ distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip
Original file line number Diff line number Diff line change 1+ wrapperVersion =3.3.4
2+ distributionType =only-script
3+ distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip
You can’t perform that action at this time.
0 commit comments