chore(ci): remove old woodpecker ci files
This commit is contained in:
1 parent
374aae68f6
commit
1132b622df
2 files changed
-46
No files matched your search
@@ -1,27 +0,0 @@
|
|||||||
when:
|
|
||||||
branch: main
|
|
||||||
event: push
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: spotless-apply
|
|
||||||
image: gradle:8-jdk24
|
|
||||||
commands:
|
|
||||||
- chmod +x ./gradlew
|
|
||||||
- ./gradlew spotlessApply
|
|
||||||
|
|
||||||
- name: commit-changes
|
|
||||||
image: alpine/git:latest
|
|
||||||
commands:
|
|
||||||
- git config --local user.email "openmmo-bot@forge.fiereu.de"
|
|
||||||
- git config --local user.name "openmmo-bot"
|
|
||||||
- git add -A
|
|
||||||
- |
|
|
||||||
if ! git diff --staged --quiet; then
|
|
||||||
git commit -m "Apply spotless formatting [skip ci]"
|
|
||||||
git push origin ${CI_COMMIT_BRANCH}
|
|
||||||
else
|
|
||||||
echo "No formatting changes needed"
|
|
||||||
fi
|
|
||||||
environment:
|
|
||||||
GIT_PASSWORD:
|
|
||||||
from_secret: git_token
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
when:
|
|
||||||
event: [push, pull_request, manual]
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: setup-gradle
|
|
||||||
image: gradle:8-jdk24
|
|
||||||
commands:
|
|
||||||
- chmod +x ./gradlew
|
|
||||||
|
|
||||||
- name: spotless-check
|
|
||||||
image: gradle:8-jdk24
|
|
||||||
commands:
|
|
||||||
- ./gradlew spotlessCheck
|
|
||||||
failure: ignore
|
|
||||||
|
|
||||||
- name: run-tests
|
|
||||||
image: gradle:8-jdk24
|
|
||||||
commands:
|
|
||||||
- ./gradlew test
|
|
||||||
Reference in new issue
Block a user