From 946ec2dd68fdf9ca1d047166f708a040767a64e5 Mon Sep 17 00:00:00 2001 From: Colin Roberts Date: Wed, 24 Jan 2024 12:29:05 -0700 Subject: [PATCH] i hate workflows --- .github/workflows/book.yaml | 37 +++++++++++-------------------------- book.toml | 2 +- 2 files changed, 12 insertions(+), 27 deletions(-) diff --git a/.github/workflows/book.yaml b/.github/workflows/book.yaml index 681c7f72..f362e353 100644 --- a/.github/workflows/book.yaml +++ b/.github/workflows/book.yaml @@ -11,30 +11,6 @@ on: branches: [main] merge_group: -jobs: - lint: - runs-on: ubuntu-latest - name: lint - - steps: - - uses: actions/checkout@v3 - - # Install Rust - - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true - components: rustfmt, clippy - - # Install mdbook-linkcheck - - name: Install mdbook-linkcheck - run: cargo install mdbook-linkcheck - - # Run linkcheck - - name: Run linkcheck - run: mdbook-linkcheck --standalone - build: runs-on: ubuntu-latest @@ -59,7 +35,16 @@ jobs: - name: Install mdbook-keeper run: cargo install mdbook-keeper --version "^0.4.0" + # Install mdbook-linkcheck + - name: Install mdbook-linkcheck + run: cargo install mdbook-linkcheck + + # Install mdbook-katex + - name: Install mdbook-katex + run: cargo install mdbook-katex + # Build book - name: Build book - run: mdbook build - continue-on-error: false + run: | + set -e + mdbook build diff --git a/book.toml b/book.toml index c165d4b1..1f2861d8 100644 --- a/book.toml +++ b/book.toml @@ -33,5 +33,5 @@ manifest_dir = "./documentation/" externs = ["arbiter_core", "arbiter_bindings", "tokio"] [output.linkcheck] -optional = true +optional = false follow-web-links = true \ No newline at end of file