File tree Expand file tree Collapse file tree 2 files changed +30
-12
lines changed Expand file tree Collapse file tree 2 files changed +30
-12
lines changed Original file line number Diff line number Diff line change 60
60
61
61
- name : Check formatting
62
62
run : crystal tool format --check src spec
63
-
64
- docs :
65
- runs-on : ubuntu-24.04
66
- steps :
67
- - name : Download source
68
- uses : actions/checkout@v4
69
- - name : Build manpages
70
- uses :
Analog-inc/[email protected]
71
- with :
72
- shellcommand : " make -B manpages SOURCE_DATE_EPOCH=\" $(date +%s --utc --date \" $(grep -m1 -o -E 'Date: .*' man/shard.yml.5 | cut -d' ' -f2)\" )\" "
73
- - name : Ensure no changes
74
- run : git diff --exit-code
Original file line number Diff line number Diff line change
1
+ name : Docs
2
+
3
+ on :
4
+ push :
5
+ paths :
6
+ - docs/*.adoc
7
+ - .github/workflows/docs.yml
8
+ - VERSION
9
+ - docs.mk
10
+ pull_request :
11
+ paths :
12
+ - docs/*.adoc
13
+ - .github/workflows/docs.yml
14
+ - VERSION
15
+ - docs.mk
16
+
17
+ permissions : {}
18
+
19
+ jobs :
20
+ docs :
21
+ runs-on : ubuntu-24.04
22
+ steps :
23
+ - name : Download source
24
+ uses : actions/checkout@v4
25
+ - name : Build manpages
26
+ uses :
Analog-inc/[email protected]
27
+ with :
28
+ shellcommand : " make -B manpages SOURCE_DATE_EPOCH=\" $(date +%s --utc --date \" $(grep -m1 -o -E 'Date: .*' man/shard.yml.5 | cut -d' ' -f2)\" )\" "
29
+ - name : Ensure no changes
30
+ run : git diff --exit-code || echo '`make manpages` produced changes. Please rebuild the docs.'
You can’t perform that action at this time.
0 commit comments