2022-05-02 21:42:38 +02:00
|
|
|
name: HTML5 Validator
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
|
2022-05-02 21:46:43 +02:00
|
|
|
- uses: actions/checkout@v3 # Required will all actions
|
2022-05-02 21:42:38 +02:00
|
|
|
|
|
|
|
- uses: ruby/setup-ruby@v1
|
|
|
|
with:
|
|
|
|
ruby-version: 3.1
|
|
|
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
|
|
|
|
|
|
- name: Jekyll build
|
|
|
|
run: |
|
|
|
|
bundle exec jekyll build --drafts --profile
|
|
|
|
|
|
|
|
- name: Checks HTML5 validity
|
2022-10-25 18:10:47 +02:00
|
|
|
uses: Cyb3r-Jak3/html5validator-action@v7.2.0
|
2022-05-02 21:42:38 +02:00
|
|
|
with:
|
|
|
|
root: _site/
|
|
|
|
blacklist: n r or ir
|