forked from akka/alpakka
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (38 loc) · 1.11 KB
/
link-validator.yml
File metadata and controls
46 lines (38 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Link Validator
on:
pull_request:
push:
branches:
- main
tags-ignore:
- v*
workflow_dispatch:
schedule:
- cron: '0 6 1 * *'
permissions:
contents: read
jobs:
validate-links:
runs-on: Akka-Default
steps:
- name: Checkout
# https://github.com/actions/checkout/releases
uses: actions/checkout@v6
with: # https://github.com/olafurpg/setup-scala#faster-checkout-of-big-repos
fetch-depth: 100
fetch-tags: true
- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
uses: coursier/cache-action@v8.1.0
- name: Set up JDK 25
# https://github.com/coursier/setup-action/releases
uses: coursier/setup-action@v3.0.0
with:
jvm: temurin:1.25
apps: cs
- name: Run akka/github-actions-scripts
uses: akka/github-actions-scripts/setup_global_resolver@main
- name: sbt site
run: sbt docs/makeSite
- name: Run Link Validator
run: cs launch net.runne::site-link-validator:0.2.5 -- scripts/link-validator.conf