Skip to content

Use static imports for Assert methods. #2389

Use static imports for Assert methods.

Use static imports for Assert methods. #2389

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Checkstyle
on: [push, pull_request]
jobs:
applications:
name: Checkstyle ${{ matrix.java-version }}
strategy:
matrix:
os: [ubuntu-latest]
java-version: [11]
runs-on: ${{ matrix.os }}
steps:
- name: Git Checkout
uses: actions/checkout@v4
- name: Set Maven Wrapper
run: mvn -N wrapper:wrapper -Dmaven=3.6.3 --no-transfer-progress
- name: Set JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.java-version }}
- name: Checkstyle
run: ./mvnw install checkstyle:check --activate-profiles all -DskipTests=true --no-transfer-progress
env:
MAVEN_OPTS: "-Xmx1g"