Skip to content

Commit

Permalink
Extract doc-lint job to a separate workflow file (#2891)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit committed Oct 10, 2024
1 parent 5f6bc09 commit 896cab8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/build-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,3 @@ jobs:

- name: Build with Maven
run: mvn test
doc-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '23'
architecture: 'x64'
cache: 'maven'

- name: Validate JavaDocs
run: mvn javadoc:javadoc
25 changes: 25 additions & 0 deletions .github/workflows/doclint-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: doclint
on:
push:
branches:
- version/**
pull_request:
branches:
- version/**

jobs:
doc-lint:
runs-on: ubuntu-latest
name: Validate JavaDocs
steps:
- uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
architecture: 'x64'
cache: 'maven'

- name: Validate JavaDocs
run: mvn javadoc:javadoc

0 comments on commit 896cab8

Please sign in to comment.