A nix flake for the final rendered result #119
Workflow file for this run
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: '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 |