File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Documentation
2+
3+ on :
4+ push :
5+ branches : [ master, release-* ]
6+ paths :
7+ - ' **.md'
8+ pull_request :
9+ branches : [ master, release-* ]
10+ paths :
11+ - ' **.md'
12+
13+ jobs :
14+ quality :
15+ name : Quality checks
16+ runs-on : [ubuntu-latest]
17+
18+ steps :
19+ - name : Setup PHP, with composer and extensions
20+ uses : shivammathur/setup-php@v2 # https://github.com/shivammathur/setup-php
21+ with :
22+ php-version : ' 8.0'
23+ tools : composer:v2
24+ extensions : intl, mbstring, xml
25+
26+ - name : Setup problem matchers for PHP
27+ run : echo "::add-matcher::${{ runner.tool_cache }}/php.json"
28+
29+ - uses : actions/checkout@v3
30+
31+ - name : Lint markdown files
32+ uses : nosborn/github-action-markdown-cli@v3.1.0
33+ with :
34+ files : .
35+ ignore_path : .markdownlintignore
Original file line number Diff line number Diff line change @@ -3,8 +3,12 @@ name: CI
33on :
44 push :
55 branches : [ '**' ]
6+ paths-ignore :
7+ - ' **.md'
68 pull_request :
7- branches : [ master, release-* ]
9+ branches : [ master, simplesamlphp-* ]
10+ paths-ignore :
11+ - ' **.md'
812
913jobs :
1014 basic-tests :
@@ -205,9 +209,3 @@ jobs:
205209 - name : Psalter
206210 continue-on-error : true
207211 run : php vendor/bin/psalter --issues=UnnecessaryVarAnnotation --dry-run
208-
209- - name : Lint markdown files
210- uses : nosborn/github-action-markdown-cli@v3.0.1
211- with :
212- files : .
213- ignore_path : .markdownlintignore
You can’t perform that action at this time.
0 commit comments