mirror of
https://codeberg.org/gitnex/GitNex
synced 2024-12-22 08:19:38 +01:00
4493917b39
Closes #1395 Closes #1398 Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1401 Co-authored-by: M M Arif <mmarif@swatian.com> Co-committed-by: M M Arif <mmarif@swatian.com>
27 lines
606 B
YAML
27 lines
606 B
YAML
steps:
|
|
author-header:
|
|
image: codeberg.org/qwerty287/woodpecker-regex-check
|
|
settings:
|
|
pattern: "*.java"
|
|
regex: " \\\\* \\\\@author [\\\\S\\\\s]+"
|
|
must_contain: true
|
|
when:
|
|
event: [ push ]
|
|
path: [ app/**, build.gradle ]
|
|
|
|
style:
|
|
image: alvrme/alpine-android:android-32-jdk17
|
|
commands:
|
|
- ./gradlew :app:spotlessCheck
|
|
when:
|
|
event: [ push ]
|
|
path: [ app/**, build.gradle ]
|
|
|
|
test:
|
|
image: alvrme/alpine-android:android-32-jdk17
|
|
commands:
|
|
- ./gradlew test
|
|
when:
|
|
event: [ push ]
|
|
path: [ app/**, build.gradle ]
|