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