Release 1.14.0 #1246
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@v4 | |
- uses: cachix/install-nix-action@v27 | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: devenv | |
- name: Install devenv.sh | |
run: nix profile install tarball+https://install.devenv.sh/latest | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cache/bundle | |
key: gem-${{ hashFiles('Gemfile.lock') }} | |
restore-keys: gem- | |
- name: Cache htmltest | |
uses: actions/cache@v4 | |
with: | |
path: | | |
tmp/.htmltest | |
key: htmltest | |
- name: Build website | |
run: devenv shell make build | |
- name: Test `check_html` | |
run: devenv shell make check_html | |
- name: Test `check_external_links` (allowed to fail) | |
run: devenv shell make check_external_links || true |