-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #1519: lint check for individual modules
- Loading branch information
1 parent
4270ee2
commit 13c8c64
Showing
3 changed files
with
26 additions
and
37 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,30 +41,42 @@ jobs: | |
path: mifospay/build/outputs/apk/debug/ | ||
|
||
lintCheck: | ||
name: Static Analysis | ||
name: StaticAnalysis | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- uses: actions/checkout@v2 | ||
|
||
# Setup JDK 17 | ||
- name: Setup JDK 17 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 17 | ||
|
||
- name: Run lint on all modules | ||
run: ./gradlew runLintOnAllModules | ||
- uses: actions/checkout@v2 | ||
- name: Static Analysis[Mifospay] | ||
run: ./gradlew mifospay:lint | ||
|
||
# Upload lint reports for all modules | ||
- name: Upload Static Analysis Reports | ||
- name: Upload Static Analysis Report For MifosPay Module | ||
uses: actions/[email protected] | ||
if: failure() | ||
with: | ||
name: Static Analysis Reports | ||
path: | | ||
**/build/reports/lint-results*.html | ||
**/build/reports/lint-results*.xml | ||
name: Static Analysis Report[Mifospay] | ||
path: mifospay/build/reports/ | ||
|
||
- name: Static Analysis[Core:Datastore] | ||
run: ./gradlew core:datastore:lint | ||
|
||
- name: Static Analysis[Core:Data] | ||
run: ./gradlew core:data:lint | ||
|
||
- name: Static Analysis[Core:DesignSystem] | ||
run: ./gradlew core:designsystem:lint | ||
|
||
- name: Static Analysis[Core:Common] | ||
run: ./gradlew core:common:lint | ||
|
||
- name: Static Analysis[Feature:Auth] | ||
run: ./gradlew feature:auth:lint | ||
|
||
pmd: | ||
name: PMD | ||
|
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
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