Merge pull request #247 from dmytrodanylyk/dependabot/gradle/gradle-w… #222
This file contains hidden or 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: | |
| jobs: | |
| buildTest: | |
| name: Build & Test JDK ${{ matrix.java_version }} | |
| runs-on: macOS-14 | |
| strategy: | |
| matrix: | |
| java_version: [ 17 ] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install JDK ${{ matrix.java_version }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'adopt' | |
| java-version: ${{ matrix.java_version }} | |
| - name: Install Android SDK | |
| uses: hannesa2/action-android/install-sdk@0.1.16.7 | |
| - name: Build project | |
| run: ./gradlew assembleDebug | |
| Check: | |
| name: Check | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java_version: [ 17 ] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install JDK ${{ matrix.java_version }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'adopt' | |
| java-version: ${{ matrix.java_version }} | |
| - uses: gradle/wrapper-validation-action@v3 | |
| - name: Install Android SDK | |
| uses: hannesa2/action-android/install-sdk@0.1.16.7 | |
| - name: Code checks | |
| run: ./gradlew check |