Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-java dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
61 lines
1.4 KiB
YAML
61 lines
1.4 KiB
YAML
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@v4
|
|
- uses: ibiqlik/action-yamllint@v3
|
|
with:
|
|
format: colored
|
|
strict: true
|
|
|
|
markdown:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: avto-dev/markdown-lint@v1
|
|
with:
|
|
args: /github/workspace
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-java@v4
|
|
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.2
|
|
- 22.0.5
|
|
- 23.0.1
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
distribution: temurin
|
|
java-version: 17
|
|
cache: maven
|
|
- run: mvn $MAVEN_ARGS verify -Dcheck.skip -Dversion.org.keycloak.test=${{ matrix.version }}
|