Skip to content

Commit

Permalink
added gradle-wrapper.jar
Browse files Browse the repository at this point in the history
  • Loading branch information
neoBortx authored and Borja committed Jan 7, 2024
1 parent 21ab85d commit 9bc72e8
Showing 1 changed file with 17 additions and 21 deletions.
38 changes: 17 additions & 21 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Quality gates validations
name: Android CI

on:
push:
Expand All @@ -8,26 +8,22 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Check out code
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Klint validations
run: ./gradlew ktlintCheck
- name: Deteckt validations
run: ./gradlew detektMain
- name: Build with Gradle
run: ./gradlew build
- name: Unit tests
run: ./gradlew testReleaseUnitTest

- name: Compile the project
run: ./gradlew assembleDebug
- name: Run unit tests
run: ./gradlew test
- name: Run KLint
run: ./gradlew ktlintCheck
- name: Run Detekt
run: ./gradlew detekt

0 comments on commit 9bc72e8

Please sign in to comment.