2023-09-19 07:23:43 +02:00
|
|
|
steps:
|
2022-07-29 14:08:44 +02:00
|
|
|
author-header:
|
2024-03-11 14:56:22 +01:00
|
|
|
image: codeberg.org/qwerty287/woodpecker-regex-check
|
2022-07-29 14:08:44 +02:00
|
|
|
settings:
|
|
|
|
pattern: "*.java"
|
|
|
|
regex: " \\\\* \\\\@author [\\\\S\\\\s]+"
|
|
|
|
must_contain: true
|
2024-11-14 19:42:50 +01:00
|
|
|
when:
|
|
|
|
event: [ push ]
|
|
|
|
path: [ app/**, build.gradle ]
|
2022-07-29 14:08:44 +02:00
|
|
|
|
2022-09-21 07:43:00 +02:00
|
|
|
style:
|
2023-07-18 20:32:32 +02:00
|
|
|
image: alvrme/alpine-android:android-32-jdk17
|
2022-09-21 07:43:00 +02:00
|
|
|
commands:
|
|
|
|
- ./gradlew :app:spotlessCheck
|
2024-11-14 19:42:50 +01:00
|
|
|
when:
|
|
|
|
event: [ push ]
|
|
|
|
path: [ app/**, build.gradle ]
|
2022-08-20 10:30:15 +02:00
|
|
|
|
|
|
|
test:
|
2023-07-18 20:32:32 +02:00
|
|
|
image: alvrme/alpine-android:android-32-jdk17
|
2022-08-20 10:30:15 +02:00
|
|
|
commands:
|
|
|
|
- ./gradlew test
|
2024-11-14 19:42:50 +01:00
|
|
|
when:
|
|
|
|
event: [ push ]
|
|
|
|
path: [ app/**, build.gradle ]
|