Bump checkstyle from 10.3.4 to 10.4 #89
1 changed files with 13 additions and 1 deletions
14
.github/workflows/ci.yaml
vendored
14
.github/workflows/ci.yaml
vendored
|
@ -25,6 +25,18 @@ jobs:
|
|||
with:
|
||||
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:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
@ -52,7 +64,7 @@ jobs:
|
|||
server-username: SERVER_USERNAME
|
||||
server-password: SERVER_PASSWORD
|
||||
- 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' }}
|
||||
- run: mvn -B -ntp deploy
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue