Skip to content

Commit 4187878

Browse files
committed
smaller test, bundle cache
1 parent 149be9e commit 4187878

File tree

3 files changed

+34
-9
lines changed

3 files changed

+34
-9
lines changed

.github/workflows/check-links.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,19 @@ jobs:
2020
- name: Ruby
2121
uses: actions/setup-ruby@v1
2222
with:
23-
ruby-version: 2.6.x
24-
- name: Setup Rubygems, Bundler, jekyll
25-
run: |
26-
gem update --system --no-document
27-
gem update bundler --no-document
28-
gem install jekyll bundler
29-
bundle install
30-
- name: Build jekyll website with drafts
23+
ruby-version: 2.7.7
24+
bundler-cache: true
25+
# - name: Setup Rubygems, Bundler, jekyll
26+
# run: |
27+
# gem update --system --no-document
28+
# gem update bundler --no-document
29+
# gem install jekyll bundler
30+
# bundle install
31+
- name: Build jekyll website
3132
run: bundle exec jekyll build
3233
- name: Check for broken links
3334
run: |
34-
bundle exec htmlproofer --checks_to_ignore ScriptCheck,ImageCheck --only_4xx --log-level :debug ./_site &> links.log
35+
bundle exec htmlproofer --checks_to_ignore ScriptCheck,ImageCheck --only_4xx --log-level :debug ./_site/utils/env/index.html &> links.log
3536
continue-on-error: true
3637
- name: Archive log links
3738
uses: actions/upload-artifact@v1

Gemfile.lock

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,23 @@ GEM
3737
em-websocket (0.5.2)
3838
eventmachine (>= 0.12.9)
3939
http_parser.rb (~> 0.6.0)
40+
ethon (0.12.0)
41+
ffi (>= 1.3.0)
4042
eventmachine (1.2.7)
4143
faraday (1.1.0)
4244
multipart-post (>= 1.2, < 3)
4345
ruby2_keywords
4446
ffi (1.13.1)
4547
filesize (0.2.0)
4648
forwardable-extended (2.6.0)
49+
html-proofer (3.19.2)
50+
addressable (~> 2.3)
51+
mercenary (~> 0.3)
52+
nokogumbo (~> 2.0)
53+
parallel (~> 1.3)
54+
rainbow (~> 3.0)
55+
typhoeus (~> 1.3)
56+
yell (~> 2.0)
4757
http_parser.rb (0.6.0)
4858
httpclient (2.8.3)
4959
i18n (1.8.5)
@@ -97,13 +107,17 @@ GEM
97107
racc (~> 1.4)
98108
nokogiri (1.11.4-x86_64-linux)
99109
racc (~> 1.4)
110+
nokogumbo (2.0.5)
111+
nokogiri (~> 1.8, >= 1.8.4)
112+
parallel (1.20.1)
100113
pathutil (0.16.2)
101114
forwardable-extended (~> 2.6)
102115
posix-spawn (0.3.15)
103116
premonition (2.0.1)
104117
progressbar (1.11.0)
105118
public_suffix (4.0.6)
106119
racc (1.5.2)
120+
rainbow (3.0.0)
107121
rake (13.0.1)
108122
rb-fsevent (0.10.4)
109123
rb-inotify (0.10.1)
@@ -119,13 +133,16 @@ GEM
119133
terminal-table (2.0.0)
120134
unicode-display_width (~> 1.1, >= 1.1.1)
121135
thread_safe (0.3.6)
136+
typhoeus (1.4.0)
137+
ethon (>= 0.9.0)
122138
tzinfo (1.2.8)
123139
thread_safe (~> 0.1)
124140
tzinfo-data (1.2020.4)
125141
tzinfo (>= 1.0.0)
126142
unicode-display_width (1.7.0)
127143
verbal_expressions (0.1.5)
128144
wdm (0.1.1)
145+
yell (2.2.2)
129146

130147
PLATFORMS
131148
ruby
@@ -135,6 +152,7 @@ PLATFORMS
135152
DEPENDENCIES
136153
dotenv
137154
faraday
155+
html-proofer
138156
jekyll!
139157
jekyll-algolia
140158
jekyll-commonmark

src/utils/env.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ title: Environment Variable Test
33
hidden: true
44
---
55

6+
- [good external link](https://www.google.com)
7+
- [good internal link](/docs/protocols/)
8+
- [bad external link](https://www.214s.sjs)
9+
- [bad internal link](/docs/protocolssds/)
10+
11+
612
## Build Metadata
713

814
| Field | Value |

0 commit comments

Comments
 (0)