File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed
Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,11 @@ jobs:
1616 steps :
1717 - uses : actions/checkout@v4
1818
19- - name : Set up JDK 8
19+ - name : Set up JDK 17
2020 uses : actions/setup-java@v4
2121 with :
22- java-version : ' 8 '
23- distribution : ' adopt '
24-
22+ java-version : ' 17 '
23+ distribution : ' temurin '
24+ cache : maven
2525 - name : Build with Maven
26- run : mvn clean install
27-
28- - name : Run tests
29- run : mvn test
26+ run : mvn -B package --file pom.xml
Original file line number Diff line number Diff line change @@ -81,9 +81,7 @@ public class Main {
8181### CpfValidator
8282
8383``` java
84- // You can also import the method as static or use the full path
85-
86- import static io.github.multiform_validator.CpfValidator.cpfIsValid ;
84+ import io.github.multiform_validator.CpfValidator ;
8785
8886public class Main {
8987 public static void main (String [] args ) {
You can’t perform that action at this time.
0 commit comments