Remove deprecated configs #212
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: buildbot | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
check: | |
name: Static analysis | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: corretto | |
- uses: android-actions/setup-android@v2 | |
name: Set up Android SDK | |
- name: Check for dependency updates | |
uses: gradle/gradle-command-action@v2 | |
with: | |
arguments: app:staticAnalysis app:collectSarifReports --continue | |
- name: Upload SARIF to Github using the upload-sarif action | |
uses: github/codeql-action/upload-sarif@v2 | |
if: ${{ always() }} | |
with: | |
sarif_file: app/build/reports/sarif/ | |
test: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: corretto | |
- uses: android-actions/setup-android@v2 | |
name: Set up Android SDK | |
- name: Run tests with Gradle | |
uses: gradle/gradle-command-action@v2 | |
with: | |
arguments: test --continue |