Skip to content

Commit b67b642

Browse files
committed
- adds linting pipeline
1 parent b6127e6 commit b67b642

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "Checks the SDK only using APIs from the targeted API level"
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
- master
8+
pull_request:
9+
branches:
10+
- dev
11+
- master
12+
13+
jobs:
14+
lint-api-level:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: actions/setup-java@v1
19+
with:
20+
java-version: 15
21+
- name: Setup Android SDK
22+
uses: android-actions/setup-android@v2
23+
- name: Add execution right to the script
24+
run: chmod +x gradlew
25+
working-directory: ./android
26+
- name: Build SDK with Android project configuration
27+
run: ./gradlew --no-daemon build
28+
working-directory: ./android
29+

0 commit comments

Comments
 (0)