Update schedule.yaml #964
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting for push and PR | |
on: [push, pull_request] | |
jobs: | |
check-internal-links: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "2.7" | |
- name: Install dependencies | |
run: | | |
gem install bundler | |
bundle install | |
- name: Build website | |
run: bundle exec jekyll build --strict_front_matter | |
- name: Validate HTML and check links | |
run: | | |
bundle exec htmlproofer \ | |
--assume-extension \ | |
--http-status-ignore 405,429,503,999 \ | |
--url-ignore "/.*localhost.*/","/.*gitter\.im.*/" \ | |
--allow-hash-href \ | |
--empty_alt_ignore \ | |
--disable-external \ | |
./_site |