2022-05-02 21:42:38 +02:00
|
|
|
name: HTML5 Validator
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-09 20:11:31 +02:00
|
|
|
- uses: actions/checkout@v4 # Required will all actions
|
2022-05-02 21:42:38 +02:00
|
|
|
|
2023-03-07 19:34:24 +01:00
|
|
|
- uses: ruby/setup-ruby@v1
|
|
|
|
with:
|
2024-05-27 16:58:14 +02:00
|
|
|
ruby-version: ".ruby-version"
|
2023-03-07 19:34:24 +01:00
|
|
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
2022-05-02 21:42:38 +02:00
|
|
|
|
2023-03-07 19:34:24 +01:00
|
|
|
- name: Jekyll build
|
|
|
|
run: |
|
|
|
|
bundle exec jekyll build --drafts --profile
|
2022-05-02 21:42:38 +02:00
|
|
|
|
2023-03-07 19:34:24 +01:00
|
|
|
- name: Checks HTML5 validity
|
|
|
|
uses: Cyb3r-Jak3/html5validator-action@v7.2.0
|
|
|
|
with:
|
|
|
|
root: _site/
|
|
|
|
blacklist: n r or ir
|