Migrate to kokuwa parent (#47)
This commit is contained in:
parent
17f1b444fd
commit
4dceb312bf
10 changed files with 189 additions and 394 deletions
59
.github/workflows/pr.yaml
vendored
Normal file
59
.github/workflows/pr.yaml
vendored
Normal file
|
@ -0,0 +1,59 @@
|
|||
name: PullRequest
|
||||
|
||||
on: pull_request
|
||||
|
||||
env:
|
||||
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress -Dmaven.test.redirectTestOutputToFile=false
|
||||
|
||||
jobs:
|
||||
|
||||
yaml:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ibiqlik/action-yamllint@v3
|
||||
with:
|
||||
format: colored
|
||||
strict: true
|
||||
|
||||
markdown:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: avto-dev/markdown-lint@v1
|
||||
with:
|
||||
args: /github/workspace
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
cache: maven
|
||||
- run: mvn $MAVEN_ARGS dependency:go-offline
|
||||
- run: mvn $MAVEN_ARGS verify
|
||||
- run: mvn $MAVEN_ARGS site
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
with:
|
||||
path: target/site
|
||||
|
||||
versions:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
version:
|
||||
- 21.0.2
|
||||
- 21.1.1
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
cache: maven
|
||||
- run: mvn $MAVEN_ARGS verify -Dcheck.skip -Dversion.org.keycloak=${{ matrix.version }}
|
Loading…
Add table
Add a link
Reference in a new issue