File tree Expand file tree Collapse file tree 3 files changed +34
-23
lines changed Expand file tree Collapse file tree 3 files changed +34
-23
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+ on : [push, pull_request]
3
+ jobs :
4
+ build :
5
+ runs-on : ubuntu-20.04
6
+ steps :
7
+ - uses : actions/checkout@v2
8
+ - name : Set up Ruby
9
+ uses : ruby/setup-ruby@v1
10
+ with :
11
+ ruby-version : 2.5.8
12
+ bundler-cache : true
13
+ - name : Set up coursier
14
+ uses : laughedelic/coursier-setup@v1
15
+ with :
16
+ jvm : adopt:11
17
+ - name : Run mdoc
18
+ run : |
19
+ ./scripts/run-mdoc.sh
20
+ rm -r /tmp/mdoc-out/
21
+ - name : Jekyll build
22
+ run : bundle exec jekyll build
23
+ - name : HTMLProofer
24
+ run : |
25
+ # # Checking for docs.scala-lang/blob/master leads to a chicken and egg problem because of the edit links of new pages.
26
+ bundle exec htmlproofer ./_site/\
27
+ --only-4xx\
28
+ --http-status-ignore "400,401,429"\
29
+ --empty-alt-ignore\
30
+ --allow-hash-href\
31
+ --url-ignore '/https://github.com/scala/docs.scala-lang/blob/master/.*/,/www.oracle.com/'
32
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -eux
3
3
4
- coursier launch org.scalameta:mdoc_2.12:2.2.13 -- \
4
+ cs launch org.scalameta:mdoc_2.12:2.2.13 -- \
5
5
--in . \
6
6
--out /tmp/mdoc-out/ \
7
- --classpath $( coursier fetch -p com.chuusai:shapeless_2.12:2.3.3) \
7
+ --classpath $( cs fetch -p com.chuusai:shapeless_2.12:2.3.3) \
8
8
--scalac-options " -Xfatal-warnings -feature" \
9
9
--no-link-hygiene \
10
10
--include ' **.md'
You can’t perform that action at this time.
0 commit comments