Skip to content

Updating sponsors (#495) #97

Updating sponsors (#495)

Updating sponsors (#495) #97

Workflow file for this run

name: Build
on:
push:
pull_request:
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
env:
COMPOSE_FILE: "docker-compose.yml:docker-compose.ci.yml"
steps:
- name: Download source
uses: actions/checkout@v2
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/.cache/bundle
tmp/.htmlproofer
key: gem-${{ hashFiles('Gemfile.lock') }}
restore-keys: gem-
- name: Build website
run: |
docker compose run --rm web /bin/bash -c "bundle check || bundle install --jobs=3"
docker compose run --rm web make build
- name: Test
run: |
docker compose run --rm web make check_html
docker compose run --rm web /bin/bash -c "make check_external_links || true" # allowed to fail