name: CI on: push: branches: - main pull_request: branches: - main jobs: test: name: test runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] steps: - uses: actions/checkout@v4 - name: Install Rust run: | rustup set profile minimal rustup toolchain install stable rustup default stable - name: Setup mdBook uses: peaceiris/actions-mdbook@v2 with: mdbook-version: "latest" - name: Run tests run: mdbook test