Skip to content

Commit

Permalink
Update workflow yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tir38 committed Jul 26, 2024
1 parent bbf6b7d commit 5c66a5c
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,17 @@ jobs:
java-version: 11
distribution: 'zulu'

- name: Build
run: ./gradlew afterpay:build

- name: Lint
run: ./gradlew afterpay:lintDebug afterpay:ktlint
run: ./gradlew afterpay:lint afterpay:spotlessCheck

- name: Unit Tests
run: ./gradlew afterpay:testDebugUnitTest

build-example:
name: Build Example Project
name: Build Sample Project
runs-on: ubuntu-latest
steps:
- name: Clone Repository
Expand All @@ -39,5 +42,8 @@ jobs:
java-version: 11
distribution: 'zulu'

- name: Build and Lint
run: ./gradlew example:buildDebug example:lintDebug example:ktlint
- name: Build
run: ./gradlew sample:buildDebug

- name: Lint
run: ./gradlew sample:lintDebug sample:spotlessCheck

0 comments on commit 5c66a5c

Please sign in to comment.