WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

HTML Proofer: Ignore status code 418 #510

HTML Proofer: Ignore status code 418

HTML Proofer: Ignore status code 418 #510

Workflow file for this run

name: Jekyll CI
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
jobs:
build:
uses: ./.github/workflows/jekyll-build-workflow.yml
tests:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/workflows/site-workflow
- name: Run tests
run: ./run-tests.sh || exit 1
internal-links:
name: "Absolute Internal Links"
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/workflows/site-workflow
- name: Check for internal absolute links
run: bash -c "! grep -REi 'https?://(www.)?opentabletdriver.net' site/_site || exit 1"
html-validation:
name: "Validate HTML"
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/workflows/site-workflow
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Check final HTML with html-proofer
# status code 418 is sometimes returned by webservers performing anti-scrape methods, so it
# should assume the resource exists instead
run: |
gem install html-proofer
htmlproofer --ignore-status-codes 418 site/_site/