Add codeblock title #38
Workflow file for this run
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: Test | |
env: | |
DENO_VERSION: 1.x | |
MDBOOK_VERSION: 0.4.36 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
.tools/ | |
key: ${{ runner.os }}-cargo | |
- uses: denoland/[email protected] | |
with: | |
deno-version: ${{ env.DENO_VERSION }} | |
- name: Install mdbook and cargo-binstall binaries | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: mdbook,cargo-binstall | |
- name: Install mdbook extensions | |
run: cargo binstall -y mdbook-alerts | |
- name: Build with mdBook | |
run: mdbook build | |
- name: Format | |
run: deno fmt --check | |
- name: Misspell | |
uses: reviewdog/[email protected] |