Consume vavr-match SNAPSHOT from Maven Central (#3022) #217
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: doclint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
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' | |
# this is a temporary workaround until new Maven Central snapshot publishing is sorted out | |
- name: Build vavr-match-processor snapshot | |
run: git clone https://github.com/vavr-io/vavr-match-processor.git && mvn -f vavr-match-processor/pom.xml install -DskipTests | |
- name: Validate JavaDocs | |
run: mvn javadoc:javadoc |