ANDROID-15581 Upgrade material lib & do not expose internal dependencies as api #1387
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: "Run tests" | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: "Build Android project" | |
run: 'bash ./gradlew clean check detekt assemble' | |
- name: Upload Lint results | |
uses: github/codeql-action/upload-sarif@v2 | |
if: success() || failure() | |
with: | |
sarif_file: app/build/reports/lint-results-debug.sarif | |
category: lint |