Skip to content

Commit

Permalink
i hate workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Autoparallel committed Jan 24, 2024
1 parent fdb53c9 commit 946ec2d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 27 deletions.
37 changes: 11 additions & 26 deletions .github/workflows/book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
2 changes: 1 addition & 1 deletion book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ manifest_dir = "./documentation/"
externs = ["arbiter_core", "arbiter_bindings", "tokio"]

[output.linkcheck]
optional = true
optional = false
follow-web-links = true

0 comments on commit 946ec2d

Please sign in to comment.