chore(deps): update actions/setup-java action to v3.13.0 #368
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# Disabling shallow clone is recommended for improving relevancy of reporting (sonarqube) | |
fetch-depth: 0 | |
- name: set up JDK 11 | |
uses: actions/[email protected] | |
with: | |
distribution: 'zulu' | |
java-version: 11 | |
- name: run unitTest and generate jacoco report | |
run: ./gradlew lintDebug testDebugUnitTest jacocoTestDebugUnitTestReport | |
- name: Sonarqube | |
run: ./gradlew sonarqube | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |