Skip to content

Merge pull request #1 from ielis/test-rust-snippets #2

Merge pull request #1 from ielis/test-rust-snippets

Merge pull request #1 from ielis/test-rust-snippets #2

Workflow file for this run

name: Execute code examples
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Install mdbook
run: cargo install mdbook
- name: Run tests
run: mdbook test