This repository has been archived by the owner on Jun 30, 2023. It is now read-only.
Update plugin play-publish to v3.8.4 #807
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: CI | |
on: [ push ] | |
jobs: | |
Validate-Gradle: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- uses: ./.github/actions/setup | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@8d49e559aae34d3e0eb16cde532684bc9702762b # v1.0.6 | |
Build: | |
runs-on: ubuntu-latest | |
needs: [ Validate-Gradle ] | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- uses: ./.github/actions/setup | |
- name: Build Debug APK | |
run: ./gradlew assembleDebug | |
Lint: | |
runs-on: ubuntu-latest | |
needs: [ Build ] | |
strategy: | |
matrix: | |
command: [ detekt, lint, ktfmtCheck, sortDependencies --mode check ] | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- uses: ./.github/actions/setup | |
- name: Lint | |
run: ./gradlew ${{ matrix.command }} | |
Tests: | |
runs-on: ubuntu-latest | |
needs: [ Build ] | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- uses: ./.github/actions/setup | |
- name: Run Unit Tests | |
run: ./gradlew test | |
- name: Codecov | |
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 | |
with: | |
token: ${{ secrets.CODE_COV_TOKEN }} |