Fix woodpecker pipeline definition

This commit is contained in:
Paul Schaub 2025-09-27 11:37:37 +02:00
parent a0758c5541
commit 7c253e5d37
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 11 additions and 5 deletions

View file

@ -1,6 +1,8 @@
pipeline:
run:
image: gradle:7.5-jdk8
steps:
build:
image: gradle:8.8-jdk11
when:
branch: main
commands:
- git checkout $CI_COMMIT_BRANCH
# Code works
@ -9,4 +11,6 @@ pipeline:
- gradle check javadocAll
# Code has coverage
- gradle jacocoRootReport coveralls
secrets: [COVERALLS_REPO_TOKEN]
environment:
COVERALLS_REPO_TOKEN:
from_secret: COVERALLS_REPO_TOKEN

View file

@ -1,7 +1,9 @@
# Code is licensed properly
# See https://reuse.software/
pipeline:
steps:
reuse:
when:
branch: main
image: fsfe/reuse:latest
commands:
- reuse lint