File tree Expand file tree Collapse file tree 5 files changed +31
-55
lines changed Expand file tree Collapse file tree 5 files changed +31
-55
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Codestyle etc.
2+
3+ on : [pull_request]
4+
5+ jobs :
6+ check-formatting :
7+ runs-on : ubuntu-latest
8+ name : Check style
9+ steps :
10+ - name : Checkout source code
11+ uses : actions/checkout@v4
12+
13+ - name : Set up Java 11
14+ uses : actions/setup-java@v4
15+ with :
16+ distribution : adopt
17+ java-package : jdk
18+ java-version : 17
19+ cache : maven
20+
21+ # Checks that the code sticks to a common code style
22+ - name : Run spotless checks
23+ run : mvn spotless:check || echo "Check the formatting. Use mvn spotless:apply to format the code."
24+
25+ # Runs Maven's dependency analysis to identify unused and undeclared dependencies and fails the build if there are any warnings.
26+ - name : Run dependency analysis
27+ run : mvn dependency:analyze -DfailOnWarning
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2121 </scm >
2222
2323 <properties >
24- <wala .version>1.6.11 </wala .version>
24+ <wala .version>1.6.12 </wala .version>
2525 <license .dir>${project.parent.basedir} </license .dir>
2626 </properties >
2727
Original file line number Diff line number Diff line change 118118 <plugin >
119119 <groupId >org.codehaus.mojo</groupId >
120120 <artifactId >versions-maven-plugin</artifactId >
121- <version >2.19.0 </version >
121+ <version >2.19.1 </version >
122122 </plugin >
123123
124124 <!-- Plugin to format pom files and source code -->
125125 <plugin >
126126 <groupId >com.diffplug.spotless</groupId >
127127 <artifactId >spotless-maven-plugin</artifactId >
128- <version >2.46.1 </version >
128+ <version >3.0.0 </version >
129129 <configuration >
130130 <pom >
131131 <sortPom >
360360 <plugin >
361361 <groupId >org.sonatype.central</groupId >
362362 <artifactId >central-publishing-maven-plugin</artifactId >
363- <version >0.8 .0</version >
363+ <version >0.9 .0</version >
364364 <extensions >true</extensions >
365365 <configuration >
366366 <deploymentName >${project.artifactId} ${project.version} </deploymentName >
You can’t perform that action at this time.
0 commit comments