File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed
Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Jekyll site CI
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-20.04
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Setup Ruby
13+ 14+ with :
15+ ruby-version : 2.7
16+ - name : Cache Ruby deps
17+ uses : actions/cache@v2
18+ with :
19+ path : vendor/bundle
20+ key : ruby-deps-${{ hashFiles('**/Gemfile.lock') }}
21+ restore-keys : |
22+ ruby-deps-
23+ - name : Ruby deps
24+ run : gem install json kramdown jekyll bundler
25+ - name : Setup Python
26+ uses : actions/setup-python@v2
27+ with :
28+ python-version : ' 3.x'
29+ - name : Python deps
30+ run : pip install pyyaml
31+ - name : Nokogiri deps
32+ run : sudo apt install -y pkg-config libxml2-dev libxslt-dev
33+ - name : Site deps
34+ run : bundle install
35+ - name : Build site
36+ run : bundle exec jekyll build
37+ - name : Check all lessons
38+ run : make lesson-check-all
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ lesson-check : lesson-fixme
132132
133133# # * lesson-check-all : validate lesson Markdown, checking line lengths and trailing whitespace
134134lesson-check-all :
135- @${PYTHON} bin/lesson_check.py -s . -p ${PARSER} -r _includes/links.md -l -w --permissive
135+ @${PYTHON} bin/lesson_check.py -s . -p ${PARSER} -r _includes/links.md -l -w
136136
137137# # * unittest : run unit tests on checking tools
138138unittest :
You can’t perform that action at this time.
0 commit comments