Skip to content

Commit c501c33

Browse files
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0: Add a github action that runs .build/docker/check-code.sh
2 parents f103dd9 + 8aad9d6 commit c501c33

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.build/build-rat.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
<exclude name="test/data/jmxdump/cassandra-*-jmx.yaml"/>
7575
<!-- Documentation files -->
7676
<exclude name=".github/pull_request_template.md"/>
77+
<exclude name=".github/workflows/code-check.yaml"/>
7778
<exclude NAME="doc/modules/**/*"/>
7879
<exclude NAME="src/java/**/*.md"/>
7980
<exclude NAME="**/README*"/>

.github/workflows/code-check.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Ant Check
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
8+
jobs:
9+
ant-check-jdk11:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
- name: JDK 11
16+
uses: actions/setup-java@v3
17+
with:
18+
java-version: '11'
19+
distribution: 'temurin'
20+
- name: Run Code Checks
21+
run: .build/docker/check-code.sh 11
22+
23+
ant-check-jdk17:
24+
runs-on: ubuntu-latest
25+
26+
steps:
27+
- name: Checkout code
28+
uses: actions/checkout@v3
29+
- name: JDK 17
30+
uses: actions/setup-java@v3
31+
with:
32+
java-version: '17'
33+
distribution: 'temurin'
34+
- name: Run Code Checks
35+
run: .build/docker/check-code.sh 17

0 commit comments

Comments
 (0)