feat: added deviceId to Configuration options #366
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: Test and Lint | |
on: [pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: ./gradlew build | |
- name: Unit Test | |
run: ./gradlew testDebugUnitTest | |
- name: Lint | |
run: ./gradlew ktlintCheck | |
- name: Upload build results | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
# artifacts name | |
name: build-results | |
# copy reports of all packages | |
path: '**/build/reports/**' | |
# artifact will expire in 7 days. | |
retention-days: 7 | |