Link Validator #86
  
    
      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: Link Validator | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 6 * * 1' | |
| jobs: | |
| validate-links: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-tags: true | |
| fetch-depth: 0 | |
| - name: Setup Java 8 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 8 | |
| - name: Cache Coursier cache | |
| uses: coursier/cache-action@v6 | |
| - name: Setup Coursier | |
| uses: coursier/setup-action@v1 | |
| - name: sbt site | |
| run: sbt docs/makeSite | |
| - name: Run Link Validator | |
| run: cs launch net.runne::site-link-validator:0.2.2 -- scripts/link-validator.conf |