Skip to content

Link Validator

Link Validator #508

name: Link Validator
permissions: {}
on:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1'
jobs:
validate-links:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Setup Java 8
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
- name: Install sbt
uses: sbt/setup-sbt@v1
- name: Cache Coursier cache
uses: coursier/cache-action@v6
- name: Setup Coursier
uses: coursier/setup-action@v1
- name: Build Documentation
run: |-
sbt docs/paradox unidoc
env:
JAVA_OPTS: "-verbose:gc -Xmx4g"
- name: Run Link Validator
run: cs launch net.runne::site-link-validator:0.2.5 -- scripts/link-validator.conf