Skip to content

Commit c0bac61

Browse files
authored
Update workflow for Android Lint checks
1 parent fd9fdd7 commit c0bac61

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
1-
name: Hello World Workflow
1+
name: Android Lint
22

3-
on:
3+
on:
44
push:
5+
pull_request:
56

67
jobs:
7-
hello-world:
8+
lint:
89
runs-on: ubuntu-latest
910

1011
steps:
1112
- name: Checkout code
1213
uses: actions/checkout@v4
1314

14-
- name: Print Hello World
15-
run: echo "Hello World"
15+
- name: Set up JDK
16+
uses: actions/setup-java@v4
17+
with:
18+
distribution: 'temurin'
19+
java-version: '17'
20+
21+
- name: Setup Gradle
22+
uses: gradle/actions/setup-gradle@v3
23+
24+
- name: Run Android Lint
25+
run: ./gradlew lint

0 commit comments

Comments
 (0)