1
0
mirror of https://codeberg.org/gitnex/GitNex synced 2024-12-22 08:19:38 +01:00
GitNex-Android-App/.woodpecker/check.yml

27 lines
606 B
YAML
Raw Normal View History

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 ]