Skip to content

Commit baceaa9

Browse files
committed
Add lint runs to assemble workflow
1 parent 7042fae commit baceaa9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/assemble.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,21 @@ jobs:
3232
- name: Assemble release
3333
run: ./gradlew assembleRelease
3434

35+
- name: Run lint for release
36+
run: ./gradlew lintRelease
37+
3538
- name: Assemble debug
3639
run: ./gradlew assembleDebug
3740

41+
- name: Run lint for debug
42+
run: ./gradlew lintDebug
43+
44+
- name: Upload lint results
45+
uses: actions/upload-artifact@v2
46+
with:
47+
name: lint-results
48+
path: app/build/reports/lint-results-*.*
49+
3850
- name: Cleanup Gradle Cache
3951
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
4052
# Restoring these files from a GitHub Actions cache might cause problems for future builds.

0 commit comments

Comments
 (0)