-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (37 loc) · 1.11 KB
/
merge-acceptance.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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: 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