Skip to content

Commit

Permalink
Updated ci file
Browse files Browse the repository at this point in the history
  • Loading branch information
cgendreau committed Jul 4, 2024
1 parent 4a2bacd commit a7ffbbd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
cache: 'maven'
- name: Build with Maven
run: mvn verify
run: mvn -B -q verify
- name: Run Checkstyle
run: mvn checkstyle:check
run: mvn -q checkstyle:check
- name: Run SpotBugs
run: mvn spotbugs:check
run: mvn -q spotbugs:check

- name: Run OWASP dependency-check (only on dev)
run: mvn org.owasp:dependency-check-maven:check
run: mvn -q org.owasp:dependency-check-maven:check
if: ${{ github.ref == 'refs/heads/dev' }}

- name: Set up for Maven Central deploy (master branch only)
Expand Down

0 comments on commit a7ffbbd

Please sign in to comment.