Skip to content

Release 17.3.0

Release 17.3.0 #50

Workflow file for this run

name: Android CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
name: Build and Lint
runs-on: ubuntu-latest
# Only run on pushes or if pull request from fork
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
permissions:
checks: write # to publish unit test results
steps:
- name: Check out
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up JDK 17
uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4.1.0
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Gradle Info
run: ./gradlew -version
- name: Assemble Debug
run: ./gradlew assembleDebug
- name: Run Unit Tests
run: ./gradlew :dtareader:test
- name: Upload Unit Test Reports
uses: dorny/test-reporter@eaa763f6ffc21c7a37837f56cd5f9737f27fc6c8 # v1.8.0
if: always() # also run if tests failed
with:
name: JUnit Report
path: dtareader/build/test-results/**/*.xml
reporter: java-junit
# To speed up lint check only run for release variant.
- name: Lint Release
run: ./gradlew :app:lintRelease
- name: Upload Lint Reports
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
if: ${{ always() }} # Also upload if lint errors.
with:
name: Lint reports
path: |
app/build/reports/lint-results-release.html