Skip to content

Consume vavr-match SNAPSHOT from Maven Central (#3022) #217

Consume vavr-match SNAPSHOT from Maven Central (#3022)

Consume vavr-match SNAPSHOT from Maven Central (#3022) #217

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