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 @@ + 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