Skip to content

A nix flake for the final rendered result #116

A nix flake for the final rendered result

A nix flake for the final rendered result #116

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
- name: Print nixpkgs version
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
- run: nix build
- run: nix flake check