Skip to content

chore(deps): update dependency jdx/mise to v2026.10.8 #662

chore(deps): update dependency jdx/mise to v2026.10.8

chore(deps): update dependency jdx/mise to v2026.10.8 #662

Workflow file for this run

name: Dev-Guide mdBook

Check warning on line 1 in .github/workflows/dev-guide.yml

View workflow run for this annotation

GitHub Actions / Dev-Guide mdBook

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
on:
pull_request:
pull_request_target:
branches:
- main
types: [closed]
jobs:
test:
name: build and test
if: ${{ github.event_name == 'pull_request' || github.event.pull_request.merged }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install Rust
run: rustup update stable && rustup default stable
- name: Install development tools
uses: jdx/mise-action@v5
with:
version: 2026.10.8
install_args: >-
--jobs=1 just cargo:mdbook cargo:mdbook-linkcheck2
cargo:mdbook-mermaid
- run:
just book-test # also runs the build
- uses: actions/upload-pages-artifact@v5
with:
path: docs/book/html
# Deploy is run as a separate job as it needs elevated permissions
deploy:
name: deploy
needs: test # the `test` job uploads the pages artifact
if: github.event_name == 'pull_request_target' && github.event.pull_request.merged && github.repository_owner == 'rust-lang'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v5
id: deployment