Skip to content

[codex] ci: make manual release dispatch build by default #1157

[codex] ci: make manual release dispatch build by default

[codex] ci: make manual release dispatch build by default #1157

Workflow file for this run

name: Documentation
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
docs:
name: Documentation
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v6
- name: Setup soldr
id: setup-soldr
uses: zackees/setup-soldr@v0.9.62
with:
cache: true
build-cache: true
target-cache: true
prebuild-deps: none
# Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo /
# rust-toolchain.toml stays in charge. Silences the routine
# "defaulting SOLDR_LINKER=fast" warning (issue #400 /
# setup-soldr#377).
linker: platform-default
# Realistic zccache payload for the doc build can exceed the
# 512 MiB action default (issue #400). Raise the soft warn
# threshold; hard cap stays at the action default (6 GiB).
cache-payload-warn-bytes: 2GiB
- name: Build docs
run: soldr cargo doc --workspace --no-deps