Bump kotlin_version from 1.9.0 to 1.9.20 #375
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: PullRequest | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
buildTest: | |
name: Build & Test JDK ${{ matrix.java_version }} | |
runs-on: macOS-latest | |
strategy: | |
matrix: | |
java_version: [ 11.0.3 ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install JDK ${{ matrix.java_version }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: ${{ matrix.java_version }} | |
- name: Install Android SDK | |
uses: malinskiy/action-android/install-sdk@release/0.1.1 | |
- name: Build project | |
run: ./gradlew build | |
- name: Run tests | |
run: ./gradlew test | |
Check: | |
name: Check | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java_version: [ 11.0.3 ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install JDK ${{ matrix.java_version }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: ${{ matrix.java_version }} | |
- name: Install Android SDK | |
uses: malinskiy/action-android/install-sdk@release/0.1.1 | |
- name: Code checks | |
run: ./gradlew check | |
- name: Archive Lint report | |
uses: actions/upload-artifact@v3 | |
if: ${{ always() }} | |
with: | |
name: IP-Cam-Lint-report | |
path: app/build/reports/lint-results.html |