commenting_out_miskate_fix (#514) #124
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: 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 |