-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1016 Bytes
/
commit.yml
File metadata and controls
38 lines (36 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Commit
on:
push:
branches-ignore:
- 'master'
- 'develop'
- 'release/*'
jobs:
check:
runs-on: self-hosted
steps:
# --------------------------------------
# Install
# --------------------------------------
- uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 21
- uses: android-actions/setup-android@v3
with:
packages: 'ndk;29.0.14206865'
- uses: gradle/actions/setup-gradle@v5
# --------------------------------------
# Run
# --------------------------------------
- uses: actions/checkout@v6
- run: ./gradlew detektMain detektTest detektDebugAndroidTest
# --------------------------------------
# Analyze
# --------------------------------------
- uses: actions/upload-artifact@v6
if: always()
with:
name: Detekt
path: "**/build/reports/detekt/"
if-no-files-found: error