Skip to content

Introduce cosmos- and wasm- encoding components crates #1287

Introduce cosmos- and wasm- encoding components crates

Introduce cosmos- and wasm- encoding components crates #1287

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@V27
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