Merge branch 'main' into dependabot/maven/com.puppycrawl.tools-checkstyle-10.4

This commit is contained in:
Stephan Schnabel 2022-11-01 08:40:19 +01:00 committed by GitHub
commit b6e04d5623
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,18 @@ jobs:
with: with:
args: /github/workspace args: /github/workspace
checkstyle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
cache: maven
- run: mvn -B -ntp dependency:go-offline
- run: mvn -B -ntp checkstyle:check
codeql: codeql:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
@ -52,7 +64,7 @@ jobs:
server-username: SERVER_USERNAME server-username: SERVER_USERNAME
server-password: SERVER_PASSWORD server-password: SERVER_PASSWORD
- run: mvn -B -ntp dependency:go-offline - run: mvn -B -ntp dependency:go-offline
- run: mvn -B -ntp verify - run: mvn -B -ntp verify -Dcheckstyle.skip
if: ${{ github.ref != 'refs/heads/main' }} if: ${{ github.ref != 'refs/heads/main' }}
- run: mvn -B -ntp deploy - run: mvn -B -ntp deploy
if: ${{ github.ref == 'refs/heads/main' }} if: ${{ github.ref == 'refs/heads/main' }}