Add additional helpful spans to opaque struct field access diagnostics #776
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: gh-pages | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: Build and Deploy Website | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install mdBook | |
uses: peaceiris/[email protected] | |
- run: mdbook build book | |
- name: Rust Cache | |
uses: Swatinem/[email protected] | |
- run: cargo xtask doc && mv target/doc book/book | |
# Only deploy when pushing on main, otherwise just run mdbook and cargo doc to check if there are any errors | |
- uses: JamesIves/[email protected] | |
if: ${{ github.event_name == 'push' }} | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: book/book # The folder the action should deploy. |