Skip to content

Commit 2778ce1

Browse files
committed
Revive validator
1 parent bb28ae8 commit 2778ce1

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

.github/workflows/build-test.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,20 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 1
1416
- name: Set up Ruby
1517
uses: ruby/setup-ruby@v1
1618
with:
1719
ruby-version: 3.0.0
20+
bundler-cache: true
1821
- name: Install dependencies
19-
run: bundle install --jobs 4 --retry 3
22+
run: |
23+
sudo apt-get install libtidy-dev
24+
bundle install --jobs 4 --retry 3
2025
- name: Test
2126
run: bundle exec rake test
2227
- name: Gen page
2328
run: bundle exec rake build
29+
- name: Validate
30+
run: bundle exec rake validate_markup

.github/workflows/deploy.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,17 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 1
1416
- name: Set up Ruby
1517
uses: ruby/setup-ruby@v1
1618
with:
1719
ruby-version: 3.0.0
20+
bundler-cache: true
1821
- name: Install dependencies
19-
run: bundle install --jobs 4 --retry 3
22+
run: |
23+
sudo apt-get install libtidy-dev
24+
bundle install --jobs 4 --retry 3
2025
- name: Test
2126
run: bundle exec rake test
2227
- name: Gen page

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ gem 'travis'
88
gem 'webrick'
99

1010
group :development do
11-
gem 'validate-website', '~> 1.0'
11+
gem 'validate-website', '~> 1.11'
1212
gem 'rspec', '~> 3.0'
1313
end

Gemfile.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ GEM
231231
multipart-post (2.1.1)
232232
net-http-persistent (2.9.4)
233233
net-http-pipeline (1.0.1)
234-
nokogiri (1.11.0)
234+
nokogiri (1.11.1)
235235
mini_portile2 (~> 2.5.0)
236236
racc (~> 1.4)
237237
octokit (4.20.0)
@@ -303,13 +303,14 @@ GEM
303303
unf_ext
304304
unf_ext (0.0.7.7)
305305
unicode-display_width (1.7.0)
306-
validate-website (1.10.0)
306+
validate-website (1.11.0)
307307
crass (~> 1)
308308
paint (~> 2)
309309
slop (~> 4.6)
310310
spidr (~> 0.6)
311311
tidy_ffi (~> 1.0)
312312
w3c_validators (~> 1.3)
313+
webrick (~> 1)
313314
w3c_validators (1.3.6)
314315
json (>= 1.8)
315316
nokogiri (~> 1.6)
@@ -326,7 +327,7 @@ DEPENDENCIES
326327
rake
327328
rspec (~> 3.0)
328329
travis
329-
validate-website (~> 1.0)
330+
validate-website (~> 1.11)
330331
webrick
331332

332333
RUBY VERSION

0 commit comments

Comments
 (0)