Skip to content

Update gradle/gradle-build-action action to v2.8.1 #754

Update gradle/gradle-build-action action to v2.8.1

Update gradle/gradle-build-action action to v2.8.1 #754

Workflow file for this run

name: CI
on: [ push ]
jobs:
Validate-Gradle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: ./.github/actions/setup
- name: Gradle Wrapper Validation
uses: gradle/[email protected]
Build:
runs-on: ubuntu-latest
needs: [ Validate-Gradle ]
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: ./.github/actions/setup
- name: Build Debug APK
run: ./gradlew assembleDebug
Lint:
runs-on: ubuntu-latest
needs: [ Build ]
strategy:
matrix:
command: [ detekt, lint, spotlessCheck, checkSortDependencies, licensee ]
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: ./.github/actions/setup
- name: Lint
run: ./gradlew ${{ matrix.command }}
Tests:
runs-on: ubuntu-latest
needs: [ Build ]
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: ./.github/actions/setup
- name: Run Unit Tests
run: ./gradlew test
- name: Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODE_COV_TOKEN }}