Skip to content

A nix flake for the final rendered result #119

A nix flake for the final rendered result

A nix flake for the final rendered result #119

name: 'Check Rendering'
on: pull_request
jobs:
check-render:
runs-on: 'ubuntu-latest'
steps:
- name: Rust Toolchain Version Diagnostics
run: cargo --version --verbose && rustup --version
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
- uses: taiki-e/cache-cargo-install-action@v1
with:
tool: [email protected]
- uses: taiki-e/cache-cargo-install-action@v1
with:
tool: [email protected]
- uses: taiki-e/cache-cargo-install-action@v1
with:
tool: [email protected]
- uses: actions/checkout@v3
- run: mdbook build
- name: Check for Orphaned Files
run: ./util/find-orphaned-files.sh
# Reference: https://github.com/marketplace/actions/install-nix
check-flake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- run: nix build
- run: nix flake check