Skip to content

Commit

Permalink
Maven/CI: streamlines when to run static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
jqno committed Dec 12, 2024
1 parent d74b7b1 commit 477cd01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,25 @@ jobs:
cache-id: "jdk8"
java: 8
dist: temurin
flags: ""
flags: "-DdisableStaticAnalysis"
- title: "Supported JDK 11"
experimental: false
cache-id: "jdk11"
java: 11
dist: temurin
flags: ""
flags: "-DdisableStaticAnalysis"
- title: "Supported JDK 17"
experimental: false
cache-id: "jdk17"
java: 17
dist: temurin
flags: ""
flags: "-DdisableStaticAnalysis"
- title: "Supported JDK 21"
experimental: false
cache-id: "jdk21"
java: 21
dist: temurin
flags: ""
flags: "-DdisableStaticAnalysis"
- title: "Supported JDK 23"
experimental: false
cache-id: "jdk23"
Expand Down
2 changes: 0 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@
<profile>
<id>static-analysis</id>
<activation>
<jdk>[21,)</jdk>
<property>
<name>!disableStaticAnalysis</name>
</property>
Expand Down Expand Up @@ -384,7 +383,6 @@
<!-- This profile exists for Checkstyle's regression CI: see issues 216 and 586 -->
<id>static-analysis-checkstyle</id>
<activation>
<jdk>[17,)</jdk>
<property>
<name>!disableStaticAnalysis</name>
</property>
Expand Down

0 comments on commit 477cd01

Please sign in to comment.