This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch cassandra-5.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/cassandra-5.0 by this push:
     new 8aad9d6c05 Add a github action that runs .build/docker/check-code.sh
8aad9d6c05 is described below

commit 8aad9d6c05265c08126b43ee7196f96f84df88e3
Author: Mick Semb Wever <[email protected]>
AuthorDate: Sat Sep 20 15:39:23 2025 +0200

    Add a github action that runs .build/docker/check-code.sh
    
    Runs on each supported JDK
    
     patch by Mick Semb Wever; reviewed by Štefan Miklošovič for CASSANDRA-20931
---
 .build/build-rat.xml              |  1 +
 .github/workflows/code-check.yaml | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/.build/build-rat.xml b/.build/build-rat.xml
index 2f6f5c7156..7219e0cf8a 100644
--- a/.build/build-rat.xml
+++ b/.build/build-rat.xml
@@ -72,6 +72,7 @@
                  <exclude name="test/data/jmxdump/cassandra-*-jmx.yaml"/>
                  <!-- Documentation files -->
                  <exclude name=".github/pull_request_template.md"/>
+                 <exclude name=".github/workflows/code-check.yaml"/>
                  <exclude NAME="doc/modules/**/*"/>
                  <exclude NAME="src/java/**/*.md"/>
                  <exclude NAME="**/README*"/>
diff --git a/.github/workflows/code-check.yaml 
b/.github/workflows/code-check.yaml
new file mode 100644
index 0000000000..f94f3f9074
--- /dev/null
+++ b/.github/workflows/code-check.yaml
@@ -0,0 +1,35 @@
+name: Ant Check
+
+on:
+    push:
+        branches:
+            - '**'
+
+jobs:
+    ant-check-jdk11:
+        runs-on: ubuntu-latest
+
+        steps:
+          - name: Checkout code
+            uses: actions/checkout@v3
+          - name: JDK 11
+            uses: actions/setup-java@v3
+            with:
+              java-version: '11'
+              distribution: 'temurin'
+          - name: Run Code Checks
+            run: .build/docker/check-code.sh 11
+
+    ant-check-jdk17:
+        runs-on: ubuntu-latest
+
+        steps:
+          - name: Checkout code
+            uses: actions/checkout@v3
+          - name: JDK 17
+            uses: actions/setup-java@v3
+            with:
+              java-version: '17'
+              distribution: 'temurin'
+          - name: Run Code Checks
+            run: .build/docker/check-code.sh 17
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to