File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed
src/main/java/com/intuit/springwebclient/entity Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 2020 - name : Set up JDK 11 for x64
2121 uses : actions/setup-java@v3
2222 with :
23- java-version : ' 11 '
23+ java-version : ' 17 '
2424 distribution : ' adopt'
2525 architecture : x64
2626 cache : maven
5656 fi
5757
5858 - name : Upload JaCoCo coverage report
59- uses : actions/upload-artifact@v2
59+ uses : actions/upload-artifact@v4
6060 with :
6161 name : jacoco-report
6262 path : target/site/jacoco/
Original file line number Diff line number Diff line change 2020 - name : Set up JDK 11 for x64
2121 uses : actions/setup-java@v3
2222 with :
23- java-version : ' 11 '
23+ java-version : ' 17 '
2424 distribution : ' adopt'
2525 architecture : x64
2626 cache : maven
3131 echo "coverage = ${{ steps.jacoco.outputs.coverage }}"
3232 echo "branch coverage = ${{ steps.jacoco.outputs.branches }}"
3333 - name : Upload JaCoCo coverage report
34- uses : actions/upload-artifact@v2
34+ uses : actions/upload-artifact@v4
3535 with :
3636 name : jacoco-report
3737 path : target/site/jacoco/
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ jobs:
1212 steps :
1313 - uses : actions/checkout@v2
1414
15- - name : Set up JDK 11
15+ - name : Set up JDK 17
1616 uses : actions/setup-java@v2
1717 with :
18- java-version : 11
18+ java-version : 17
1919 distribution : ' adopt'
2020
2121 - name : Build with Maven
2424 - name : Set up Apache Maven Central
2525 uses : actions/setup-java@v2
2626 with : # running setup-java again overwrites the settings.xml
27- java-version : 11
27+ java-version : 17
2828 distribution : ' adopt'
2929 server-id : ossrh
3030 server-username : OSSRH_USERNAME
Original file line number Diff line number Diff line change 1515 <parent >
1616 <groupId >org.springframework.boot</groupId >
1717 <artifactId >spring-boot-starter-parent</artifactId >
18- <version >2.7.12 </version >
18+ <version >3.1.11 </version >
1919 <relativePath /> <!-- lookup parent from repository -->
2020 </parent >
2121
2222 <properties >
2323 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
2424 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
25- <maven .compiler.source>11 </maven .compiler.source>
26- <maven .compiler.target>11 </maven .compiler.target>
25+ <maven .compiler.source>17 </maven .compiler.source>
26+ <maven .compiler.target>17 </maven .compiler.target>
2727
2828 <junit .version>5.7.2</junit .version>
2929 <jacoco .enabled>true</jacoco .enabled>
Original file line number Diff line number Diff line change 22
33import lombok .Builder ;
44import lombok .Getter ;
5- import org .springframework .http .HttpStatus ;
5+ import org .springframework .http .HttpStatusCode ;
66
77@ Getter
88@ Builder
99public final class ClientHttpResponse <T >{
1010
1111 private final T response ;
1212 private final String error ;
13- private final HttpStatus status ;
13+ private final HttpStatusCode status ;
1414 private final boolean isSuccess2xx ;
1515
1616}
You can’t perform that action at this time.
0 commit comments