Skip to content

Merge pull request #3183 from dbelob/dependabot/npm_and_yarn/twitter-… #3563

Merge pull request #3183 from dbelob/dependabot/npm_and_yarn/twitter-…

Merge pull request #3183 from dbelob/dependabot/npm_and_yarn/twitter-… #3563

Workflow file for this run

name: SonarCloud
on:
push:
branches: [ '*' ]
jobs:
sonarcloud:
runs-on: ubuntu-latest
steps:
- name: Update Google Chrome
run: |
sudo apt-get update
sudo apt-get --only-upgrade install google-chrome-stable
google-chrome --version
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: 21
- name: Analyze with SonarCloud
run: mvn -B verify sonar:sonar -Dsonar.projectKey=dbelob_twitter-emulation -Dsonar.organization=dbelob -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dsonar.coverage.jacoco.xmlReportPaths=./target/site/jacoco/jacoco.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}