Skip to content

Natively implement Cosmos UpdateClient and Comet light client (#479) #1478

Natively implement Cosmos UpdateClient and Comet light client (#479)

Natively implement Cosmos UpdateClient and Comet light client (#479) #1478

Workflow file for this run

name: API Docs
on:
pull_request: {}
push:
branches: main
# Cancel previous runs of this workflow when a new commit is added to the PR, branch or tag
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
cargo-doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
extra_nix_config: |
experimental-features = nix-command flakes
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build API documentation
# TODO: run cargo doc with all crates once it is fixed
run: |
nix shell .#protobuf -c \
cargo doc \
--all-features \
-p hermes-relayer-components