Skip to content

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

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

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

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@v3
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- 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 }}