Skip to content

Commit

Permalink
deps: update Java test action, triggers, temurin w/ java 21 (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Oct 13, 2023
1 parent ca1714c commit c50e3fe
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,22 @@ jobs:
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
runs-on: ubuntu-22.04
steps:
- uses: bcgov-nr/action-test-and-analyse-java@v0.2.0
- uses: bcgov-nr/action-test-and-analyse-java@v1.0.0
with:
commands: mvn --no-transfer-progress clean compile verify package checkstyle:checkstyle -P all-tests
dir: backend
java-cache: maven
java-distribution: oracle
java-distribution: temurin
java-version: 21
sonar_args: >
-Dsonar.exclusions=**/config/**,*/dto/**,**/entity/**,**/exception/**,**/response/**,**/*$*Builder*,**/RestExceptionEndpoint.*,**/ResultsApplication.*
-Dsonar.coverage.jacoco.xmlReportPaths=target/coverage-reports/merged-test-report/jacoco.xml
-Dsonar.organization=bcgov-sonarcloud
-Dsonar.project.monorepo.enabled=true
-Dsonar.projectKey=nr-silva-backend
sonar_project_token: ${{ secrets.SONAR_TOKEN_BACKEND }}
# triggers: ${{ github.event_name == 'pull_request' && '("backend/")' || '' }}
sonar_token: ${{ secrets.SONAR_TOKEN_BACKEND }}
# Only use triggers for PRs
triggers: ${{ github.event_name == 'pull_request' && '("backend/")' || '' }}

codeql:
name: CodeQL
Expand Down

0 comments on commit c50e3fe

Please sign in to comment.