Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
41 lines
962 B
YAML
41 lines
962 B
YAML
name: PullRequest
|
|
|
|
on: pull_request
|
|
|
|
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
|
|
env:
|
|
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress -Dmaven.test.redirectTestOutputToFile=false
|
|
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@v4
|
|
if: always()
|
|
with:
|
|
path: target/site
|