Skip to content

Cargo Dependency: Bump proc-macro2 from 1.0.66 to 1.0.74 #162

Cargo Dependency: Bump proc-macro2 from 1.0.66 to 1.0.74

Cargo Dependency: Bump proc-macro2 from 1.0.66 to 1.0.74 #162

Workflow file for this run

on:
push:
pull_request:
schedule: # Trigger a job on default branch at 4AM PST everyday
- cron: "0 11 * * *"
name: Docs
jobs:
docs:
name: Docs
runs-on: windows-latest
strategy:
matrix:
wdk:
- Microsoft.WindowsWDK.10.0.22621 # NI WDK
rust_toolchain:
- stable
- beta
- nightly
cargo_profile:
- dev
- release
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Winget
uses: ./.github/actions/winget-install
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install WDK (${{ matrix.wdk }})
run: |
if (!(winget list --exact --source winget --id ${{ matrix.wdk }})[-1].contains("${{ matrix.wdk }}")) {
winget install --disable-interactivity --source winget --exact --id ${{ matrix.wdk }}
}
- name: Install Rust Toolchain (${{ matrix.rust_toolchain }})
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust_toolchain }}
- name: Run Cargo Doc
run: cargo doc --locked --profile ${{ matrix.cargo_profile }}
- name: Run Cargo Doc (--features nightly)
if: matrix.rust_toolchain == 'nightly'
run: cargo doc --locked --profile ${{ matrix.cargo_profile }} --features nightly