forked from StarOpenSource/Engine
25 lines
567 B
YAML
25 lines
567 B
YAML
|
name: build-and-test
|
||
|
|
||
|
on:
|
||
|
- pull_request
|
||
|
|
||
|
jobs:
|
||
|
generate-javadoc:
|
||
|
runs-on: docker
|
||
|
container:
|
||
|
image: git.staropensource.de/staropensource/actions-docker:java
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||
|
- name: Generate javadoc
|
||
|
run: ./gradlew --no-daemon javadoc
|
||
|
test:
|
||
|
runs-on: docker
|
||
|
container:
|
||
|
image: git.staropensource.de/staropensource/actions-docker:java
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||
|
- name: Run tests
|
||
|
run: ./gradlew --no-daemon test
|