Skip to content

Merge pull request #324 from scala/new-roadmap-2024 #349

Merge pull request #324 from scala/new-roadmap-2024

Merge pull request #324 from scala/new-roadmap-2024 #349

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0.5'
bundler-cache: true
- name: Bower
run: |
npm install -g bower
bower install
- name: Build site
run: |
bundle exec jekyll build 2> error.log
cat >&2 error.log
( ! grep -qie Error -e Warn error.log )
- name: Cache HTMLProofer
id: cache-htmlproofer
uses: actions/cache@v2
with:
path: tmp/.htmlproofer
key: ${{ runner.os }}-htmlproofer
- name: HTMLProofer
run: |
# Check all links
bundle exec htmlproofer ./_site/\
--only-4xx\
--ignore-empty-alt=true\
--allow-hash-href=true\
--enforce-https=false\
--ignore-missing-alt=true\
--swap-urls "https\:\/\/scala\.epfl\.ch:"\
--cache '{ "timeframe": { "external": "30d" } }'