File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Documentation"
2
+
3
+ on : # yamllint disable-line rule:truthy
4
+ pull_request :
5
+ branches :
6
+ - " main"
7
+ paths :
8
+ - " .github/workflows/documentation.yml"
9
+ - " docs/**"
10
+ push :
11
+ branches :
12
+ - " main"
13
+ paths :
14
+ - " .github/workflows/documentation.yml"
15
+ - " docs/**"
16
+
17
+ jobs :
18
+ validate-with-guides :
19
+ name : " Validate documentation with phpDocumentor/guides"
20
+ runs-on : " ubuntu-22.04"
21
+
22
+ steps :
23
+ - name : " Checkout code"
24
+ uses : " actions/checkout@v3"
25
+
26
+ - name : " Install PHP"
27
+ uses : " shivammathur/setup-php@v2"
28
+ with :
29
+ coverage : " none"
30
+ php-version : " 8.2"
31
+
32
+ - name : " Install dependencies with Composer"
33
+ uses : " ramsey/composer-install@v2"
34
+ with :
35
+ dependency-versions : " highest"
36
+
37
+ - name : " Run guides-cli"
38
+ run : " vendor/bin/guides -vvv --no-progress docs /tmp/test --fail-on-log"
You can’t perform that action at this time.
0 commit comments