Skip to content

build(deps): Bump taiki-e/upload-rust-binary-action from 1.21.0 to 1.21.1 #51

build(deps): Bump taiki-e/upload-rust-binary-action from 1.21.0 to 1.21.1

build(deps): Bump taiki-e/upload-rust-binary-action from 1.21.0 to 1.21.1 #51

Workflow file for this run

name: Mdbook
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install Rust
run: |
rustup set profile minimal
rustup toolchain install stable
rustup default stable
- name: Install latest mdbook
run: |
tag=$(curl 'https://api.github.com/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name')
url="https://github.com/rust-lang/mdbook/releases/download/${tag}/mdbook-${tag}-x86_64-unknown-linux-gnu.tar.gz"
mkdir bin
curl -sSL $url | tar -xz --directory=bin
echo "$(pwd)/bin" >> $GITHUB_PATH
- name: Run tests
run: cd docs && mdbook test