Skip to content

Remove usage of deprecated methods #451

Remove usage of deprecated methods

Remove usage of deprecated methods #451

Workflow file for this run

name: Execute Java Tests
on:
pull_request:
workflow_call:
push:
branches-ignore:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: maven
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Run tests with Maven
run: mvn --batch-mode verify
- name: Validate checkstyle
run: mvn --batch-mode validate -Pcheckstyle