Check #1
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 | |
"on": | |
workflow_dispatch: {} | |
pull_request: | |
branches: ["*"] | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install mdBook | |
run: | | |
curl -sSL https://github.com/rust-lang/mdBook/releases/download/$(cat mdbook-version)/mdbook-$(cat mdbook-version)-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin | |
- name: Build and test the book | |
run: | | |
bin/mdbook build | |
bin/mdbook test |