Skip to content

Commit b82c574

Browse files
cb341claude
andcommitted
Pin Ruby 4.0 in CI and deploy, check links in CI
html-proofer runs after the CI build (internal links only; --no-enforce-https for one http-only external link). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 2974251 commit b82c574

4 files changed

Lines changed: 73 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: ruby/setup-ruby@v1
1414
with:
15-
ruby-version: "3.3"
15+
ruby-version: "4.0"
1616
bundler-cache: true
1717
- run: bin/check_unicode
1818
- run: bundle exec jekyll build
19+
- run: bundle exec htmlproofer _site --disable-external --no-enforce-https

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v4
2525
- uses: ruby/setup-ruby@v1
2626
with:
27-
ruby-version: "3.3"
27+
ruby-version: "4.0"
2828
bundler-cache: true
2929
- run: bundle exec jekyll build
3030
- uses: actions/configure-pages@v5

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ source "https://rubygems.org"
33
gem "jekyll", "~> 4.3"
44
gem "htmlbeautifier"
55
gem "fastimage"
6+
gem "html-proofer"
67

78
group :jekyll_plugins do
89
gem "jekyll-sitemap"

Gemfile.lock

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,32 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4+
Ascii85 (2.0.1)
45
addressable (2.8.8)
56
public_suffix (>= 2.0.2, < 8.0)
7+
afm (1.0.0)
8+
async (2.39.0)
9+
console (~> 1.29)
10+
fiber-annotation
11+
io-event (~> 1.11)
12+
metrics (~> 0.12)
13+
traces (~> 0.18)
614
base64 (0.3.0)
15+
benchmark (0.5.0)
716
bigdecimal (4.0.1)
817
colorator (1.1.0)
918
concurrent-ruby (1.3.6)
19+
console (1.36.0)
20+
fiber-annotation
21+
fiber-local (~> 1.1)
22+
json
1023
csv (3.3.5)
1124
em-websocket (0.5.3)
1225
eventmachine (>= 0.12.9)
1326
http_parser.rb (~> 0)
27+
ethon (0.18.0)
28+
ffi (>= 1.15.0)
29+
logger
1430
eventmachine (1.2.7)
1531
fastimage (2.4.0)
1632
ffi (1.17.3)
@@ -24,6 +40,10 @@ GEM
2440
ffi (1.17.3-x86_64-darwin)
2541
ffi (1.17.3-x86_64-linux-gnu)
2642
ffi (1.17.3-x86_64-linux-musl)
43+
fiber-annotation (0.2.0)
44+
fiber-local (1.1.0)
45+
fiber-storage
46+
fiber-storage (1.0.1)
2747
forwardable-extended (2.6.0)
2848
google-protobuf (4.33.5)
2949
bigdecimal
@@ -52,10 +72,22 @@ GEM
5272
google-protobuf (4.33.5-x86_64-linux-musl)
5373
bigdecimal
5474
rake (>= 13)
75+
hashery (2.1.2)
76+
html-proofer (5.2.1)
77+
addressable (~> 2.3)
78+
async (~> 2.1)
79+
benchmark (~> 0.5)
80+
nokogiri (~> 1.13)
81+
pdf-reader (~> 2.11)
82+
rainbow (~> 3.0)
83+
typhoeus (~> 1.3)
84+
yell (~> 2.0)
85+
zeitwerk (~> 2.5)
5586
htmlbeautifier (1.4.3)
5687
http_parser.rb (0.8.1)
5788
i18n (1.14.8)
5889
concurrent-ruby (~> 1.0)
90+
io-event (1.16.1)
5991
jekyll (4.4.1)
6092
addressable (~> 2.4)
6193
base64 (~> 0.2)
@@ -93,15 +125,45 @@ GEM
93125
rb-inotify (~> 0.9, >= 0.9.10)
94126
logger (1.7.0)
95127
mercenary (0.4.0)
128+
metrics (0.15.0)
129+
mini_portile2 (2.8.9)
130+
nokogiri (1.19.3)
131+
mini_portile2 (~> 2.8.2)
132+
racc (~> 1.4)
133+
nokogiri (1.19.3-aarch64-linux-gnu)
134+
racc (~> 1.4)
135+
nokogiri (1.19.3-aarch64-linux-musl)
136+
racc (~> 1.4)
137+
nokogiri (1.19.3-arm-linux-gnu)
138+
racc (~> 1.4)
139+
nokogiri (1.19.3-arm-linux-musl)
140+
racc (~> 1.4)
141+
nokogiri (1.19.3-arm64-darwin)
142+
racc (~> 1.4)
143+
nokogiri (1.19.3-x86_64-darwin)
144+
racc (~> 1.4)
145+
nokogiri (1.19.3-x86_64-linux-gnu)
146+
racc (~> 1.4)
147+
nokogiri (1.19.3-x86_64-linux-musl)
148+
racc (~> 1.4)
96149
pathutil (0.16.2)
97150
forwardable-extended (~> 2.6)
151+
pdf-reader (2.15.1)
152+
Ascii85 (>= 1.0, < 3.0, != 2.0.0)
153+
afm (>= 0.2.1, < 2)
154+
hashery (~> 2.0)
155+
ruby-rc4
156+
ttfunk
98157
public_suffix (7.0.2)
158+
racc (1.8.1)
159+
rainbow (3.1.1)
99160
rake (13.3.1)
100161
rb-fsevent (0.11.2)
101162
rb-inotify (0.11.1)
102163
ffi (~> 1.0)
103164
rexml (3.4.4)
104165
rouge (4.7.0)
166+
ruby-rc4 (0.1.5)
105167
safe_yaml (1.0.5)
106168
sass-embedded (1.97.3)
107169
google-protobuf (~> 4.31)
@@ -136,8 +198,14 @@ GEM
136198
google-protobuf (~> 4.31)
137199
terminal-table (3.0.2)
138200
unicode-display_width (>= 1.1.1, < 3)
201+
traces (0.18.2)
202+
ttfunk (1.7.0)
203+
typhoeus (1.6.0)
204+
ethon (>= 0.18.0)
139205
unicode-display_width (2.6.0)
140206
webrick (1.9.2)
207+
yell (2.2.2)
208+
zeitwerk (2.8.2)
141209

142210
PLATFORMS
143211
aarch64-linux-android
@@ -162,6 +230,7 @@ PLATFORMS
162230

163231
DEPENDENCIES
164232
fastimage
233+
html-proofer
165234
htmlbeautifier
166235
jekyll (~> 4.3)
167236
jekyll-sitemap

0 commit comments

Comments
 (0)