mirror of https://github.com/apache/cassandra
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
This commit is contained in:
parent
ed04f46b27
commit
8aad9d6c05
|
|
@ -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*"/>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Reference in New Issue