manual paths for p2p and operator keys #335
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: Docs | |
on: | |
pull_request: | |
merge_group: | |
push: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
permissions: {} | |
jobs: | |
docs: | |
name: Generate docs | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: dtolnay/rust-toolchain@nightly | |
with: | |
toolchain: nightly-2024-11-01 | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: Install SP1 Toolchain | |
run: | | |
curl -fsSL --proto '=https' --tlsv1.2 https://sp1.succinct.xyz | bash && ~/.sp1/bin/sp1up | |
export PATH=~/.sp1/bin:$PATH | |
cargo prove --version | |
- name: Install sqlx-cli | |
run: cargo install sqlx-cli --locked | |
- name: Run db migrations | |
run: make migrate | |
- name: Check docs leaving the dependencies out | |
run: cargo doc --workspace --no-deps | |
env: | |
RUSTDOCFLAGS: --show-type-layout --enable-index-page -Zunstable-options -A rustdoc::private-doc-tests -D warnings | |
DATABASE_URL: sqlite://./operator.db | |
SKIP_GUEST_BUILD: 1 |