Skip to content

Commit

Permalink
chore: added java17 for sonarscan
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 authored Feb 22, 2024
1 parent 86c88ea commit e2104c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ jobs:
TWILIO_TO_NUMBER: ${{ secrets.TWILIO_TO_NUMBER }}
run: mvn test -DTest="ClusterTest" -B

- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'

- name: SonarCloud Scan
if: ${{ (github.event_name == 'pull_request' || github.ref_type == 'branch') && matrix.java == 11 && !github.event.pull_request.head.repo.fork }}
env:
Expand Down

0 comments on commit e2104c5

Please sign in to comment.