Skip to content

chore(deps): update actions/setup-java action to v4 #462

chore(deps): update actions/setup-java action to v4

chore(deps): update actions/setup-java action to v4 #462

Workflow file for this run

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 }}